From a8c06ae10135f7ef2d2c4c54509931c30bd43964 Mon Sep 17 00:00:00 2001 From: Jeremie Fraeys Date: Sun, 8 Feb 2026 17:04:49 -0500 Subject: [PATCH] fix: configure neotest-python for tests/ directory discovery --- lua/custom/plugins/neotest.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/custom/plugins/neotest.lua b/lua/custom/plugins/neotest.lua index fc0084f..3b31aef 100644 --- a/lua/custom/plugins/neotest.lua +++ b/lua/custom/plugins/neotest.lua @@ -18,6 +18,9 @@ return { require('neotest-python')({ runner = 'pytest', dap = { justMyCode = false }, + args = { '-v', '--tb=short' }, + -- Discover tests in tests/ directory + pytest_discover_instances = true, }), require('neotest-gtest').setup({ debug_adapter = 'codelldb',