Issafalcon / neotest-dotnet

Neotest adapter for dotnet
MIT License
73 stars 29 forks source link

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

Open NicolaiSattler opened 1 month ago

NicolaiSattler commented 1 month ago

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 commented 1 month ago

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, https://github.com/GustavEikaas/easy-dotnet.nvim/issues/74 seems to be a solution to many problems with this plugin and the multiple test runners. I'll be looking into this ASAP.