When I try to run the tests, below message get displayed and none of the tests get executed
NUnit3TestExecutor discovered 0 of xxxx NUnit test cases using Current Discovery mode, Explicit run Test run finished: 0 Tests (0 Passed, 0 Failed, 0 Skipped)
But the tests are not marked as Explicit
Below is sample test I did for testing and when I run this test it gives the same message
[TestFixture]
public class SampleTest
{
[Test]
public void ShouldBeSuccess()
{
var result = 8;
Assert.AreEqual(result, 4 * 2);
}
}
Project and packages details/versions
.Net 4.6.2, NUnit 3.11.0, NUnit.ConsoleRunner 3.9.0, NUnit3TestAdapter 4.3.1, Visual Studio Professional 2019 Version 16.11.23
I have tried running these enabling /disabling "Discover test in realtime.."
Any idea of what causing this