question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Explicit tests are automatically run in Visual Studio 2019 after upgrading from 3.17.0 to 4.0.0-alpha.1

See original GitHub issue

Hi,

About a year ago, I opened #658 that describes how tests marked with [Expicit] runs automatically in Visual Studio 2019. This was recently closed, while I was unable to follow it.

While the proposed fix (released as version 4.0.0-alpha.1) does fix the most common cases, it appears that the issue still remains with tests using [TestCaseSource].

I did write this as a comment in the original issue at https://github.com/nunit/nunit3-vs-adapter/issues/658#issuecomment-689575251, but it appears that this has gone unnoticed (which I fully understand).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
krokofantcommented, Mar 3, 2021

My reproduction was unsuccessful but I noticed that I had NUnit 3.12.0 installed before when it failed 🤦‍♂️. Updating to NUnit 3.13.1 and running with the beta.1 version of the test adapter seems to work. Now the ignored tests and explicit tests are reporting a duration of 0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Explicit nunit tests are automatically run in Visual Studio 2019
"This issue is caused by a change in behavior in Visual Studio 2019, in how the test execution methods are being called. The...
Read more >
Adapter V4 Release Notes
NUnit3 Test Adapter for Visual Studio - Version 4.2.1 - Jan 21, 2022. This is a hotfix release for. 941 When running dotnet...
Read more >
Why will Visual Studio 2019 will not run my unit tests?
On the top menu, navigating to Test > Options and disabling "Discover tests in real time from C# and Visual Basic .NET source...
Read more >
Release notes — conda-build 0.0.0.dev0+placeholder ...
Update test matrix to run tests on all supported Python versions on Linux. ... When both script and an explicit file list are...
Read more >
Package List
Package List . This is a list of things you can install using Spack. It is automatically generated based on the packages...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found