summaryrefslogtreecommitdiff
path: root/lua/config/python-testing.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/config/python-testing.lua')
-rw-r--r--lua/config/python-testing.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/config/python-testing.lua b/lua/config/python-testing.lua
new file mode 100644
index 0000000..729bcdf
--- /dev/null
+++ b/lua/config/python-testing.lua
@@ -0,0 +1,15 @@
+require("neotest").setup({
+ adapters = {
+ require("neotest-python")({
+ -- Extra arguments for nvim-dap configuration
+ -- See https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings for values
+ dap = {
+ justMyCode = false,
+ console = "integratedTerminal",
+ },
+ args = { "--log-level", "DEBUG", "--quiet" },
+ runner = "pytest",
+ })
+ }
+})
+