nvim-neotest / neotest-jest

MIT License
116 stars 79 forks source link

neotest-dotnet dosent work witn neotest-jest #122

Open Tantol opened 3 months ago

Tantol commented 3 months ago

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 tests. Jest tests runs without any problem.

In ex. below configuration works with dotnet tests (with go 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-go',
    },
    config = function()
      require('neotest').setup {
        adapters = {
          require 'neotest-go',
          require 'neotest-dotnet',
        },
      }
    end,
  },

https://github.com/Issafalcon/neotest-dotnet/issues/108