return { 'nvim-neotest/neotest', dependencies = { 'nvim-lua/plenary.nvim', 'nvim-treesitter/nvim-treesitter', 'antoinemadec/FixCursorHold.nvim', 'nvim-neotest/neotest-python' }, config = function() require("neotest").setup({ adapters = { require("neotest-python")({ dap = { justMyCode = false }, args = { "--log-level", "DEBUG" }, runner = 'pytest', }) } }) end, keys = { { '', function() require("neotest").run.run() end, desc = 'Run nearest test' }, { '', function() require("neotest").run.run({ strategy = "dap" }) end, desc = 'Run nearest test' } } }