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

Unable to discover NUnit tests #361

Open
miksch123 opened this issue Apr 13, 2022 · 2 comments
Open

Unable to discover NUnit tests #361

miksch123 opened this issue Apr 13, 2022 · 2 comments

Comments

@miksch123
Copy link

miksch123 commented Apr 13, 2022

Since version 7.7 I no longer can see the list of tests in the testing area of VSCode.
Reverting to 7.6 does not seem to have this issue. I also tried different ways of setting the project path in settings.json or the extension settings.

  1. Dotnet sdk version: dotnet core SDK 3.1.417
  2. Unit test framework: NUnit 3.13.2, NUnit3TestAdapter 4.2.1

I also am running my project in a VMWare VM.

@miksch123
Copy link
Author

There is the output of my dotnet info command:
.NET Core SDK (reflecting any global.json):
Version: 3.1.417
Commit: e22a5e10f1

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19044
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\3.1.417\

Host (useful for support):
Version: 3.1.23
Commit: 7af614fde0

.NET Core SDKs installed:
3.1.417 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

@JanusTida
Copy link

I'm using xUnit and encountered the same problem,but it works well in mstest

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