neotest-dotnet
neotest-dotnet copied to clipboard
"No test found" when using multiple adapters
I need help with setting neotest for full-stack development.
Whenever I run below configuration:
{
'nvim-neotest/neotest',
dependencies = {
'nvim-neotest/nvim-nio',
'nvim-lua/plenary.nvim',
'antoinemadec/FixCursorHold.nvim',
'nvim-treesitter/nvim-treesitter',
'Issafalcon/neotest-dotnet',
'nvim-neotest/neotest-jest',
},
config = function()
require('neotest').setup {
adapters = {
require 'neotest-jest',
require 'neotest-dotnet',
},
}
end,
},
I get communicate "No test found" when trying to run dotnet test. Jest tests runs without any problem.
Below config works for dotnet tests (removed jest adapter):
{
'nvim-neotest/neotest',
dependencies = {
'nvim-neotest/nvim-nio',
'nvim-lua/plenary.nvim',
'antoinemadec/FixCursorHold.nvim',
'nvim-treesitter/nvim-treesitter',
'Issafalcon/neotest-dotnet',
'nvim-neotest/neotest-jest',
},
config = function()
require('neotest').setup {
adapters = {
require 'neotest-dotnet',
},
}
end,
},