Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test is indicated to be failed while the output logs test(s) to be successful. #119

Open
NicolaiSattler opened this issue Oct 2, 2024 · 1 comment

Comments

@NicolaiSattler
Copy link

NicolaiSattler commented Oct 2, 2024

I recently stumbled upon neotest for dotnet and I love how it works. Cheers for that :D

I did notice something strange: while running mstests in .net 8 for one or more tests, the process outputs a success result while the indicators tell it failed.

image

image

This is also the case inside of the summary panel.

my config:

require("neotest").setup({
  adapters = {
    require("neotest-dotnet")({
      discovery_root = "project"
    })
  },
})

Could the icon configuration be the cause of this?

@Issafalcon
Copy link
Owner

Hi @NicolaiSattler . Thanks for raising this. Life has gotten in the way of my side projects for a while, so just commenting here to say that this is an issue I'm aware of with MSTest (I've neglected this test runner a bit, as xUnit and NUnit are what I use mainy). However, GustavEikaas/easy-dotnet.nvim#74 seems to be a solution to many problems with this plugin and the multiple test runners. I'll be looking into this ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants