diff options
| author | Your Name <you@example.com> | 2024-07-03 17:03:56 +0100 |
|---|---|---|
| committer | Your Name <you@example.com> | 2024-07-03 17:03:56 +0100 |
| commit | c959b2112fb4c82b5bfd410df21706455225bd40 (patch) | |
| tree | 6774868448d127c2f560827de8e5edbd868a2832 /lua/config/python-testing.lua | |
Diffstat (limited to 'lua/config/python-testing.lua')
| -rw-r--r-- | lua/config/python-testing.lua | 15 |
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", + }) + } +}) + |
