2025-04-14 11:38:42 +01:00
|
|
|
return {
|
2025-04-29 17:22:28 +01:00
|
|
|
'nvim-neotest/neotest',
|
2025-04-14 11:38:42 +01:00
|
|
|
lazy = true,
|
|
|
|
|
dependencies = {
|
2025-04-29 17:22:28 +01:00
|
|
|
'nvim-neotest/nvim-nio',
|
|
|
|
|
'nvim-lua/plenary.nvim',
|
|
|
|
|
'antoinemadec/FixCursorHold.nvim',
|
|
|
|
|
'nvim-treesitter/nvim-treesitter',
|
2025-04-14 11:38:42 +01:00
|
|
|
-- Adapters
|
|
|
|
|
'V13Axel/neotest-pest',
|
|
|
|
|
-- "olimorris/neotest-phpunit",
|
|
|
|
|
},
|
|
|
|
|
config = function()
|
2025-04-29 17:22:28 +01:00
|
|
|
require('neotest').setup {
|
2025-04-14 11:38:42 +01:00
|
|
|
adapters = {
|
2025-04-29 17:22:28 +01:00
|
|
|
require 'neotest-pest' {
|
|
|
|
|
sail_enabled = function()
|
|
|
|
|
return false
|
|
|
|
|
end,
|
|
|
|
|
parallel = 10,
|
|
|
|
|
},
|
2025-04-14 11:38:42 +01:00
|
|
|
-- require('neotest-phpunit'),
|
2025-04-29 17:22:28 +01:00
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
end,
|
2025-04-14 11:38:42 +01:00
|
|
|
}
|