Closed UnderHeavyDevelopment closed 7 years ago
I have the solution: Project Different had NUnit v3.7.1 package, but Project Same had NUnit v3.6.1. I wonder if this can be somehow printed as an error in Output, not "No tests found to run"?
Excellent report, thank you. I expect that this is an issue with the NUnit Framework, not the adapter. Can you confirm that the tests are not found when you run the tests with the NUnit Console?
We had a similar issue reported nunit/nunit#2014, but it could not be reproduced. I also have tests that do the same thing that work fine.
@UnderHeavyDevelopment our posts crossed 😄
I am going to move this to the framework repository as it is a general issue. I am not sure how we can easily detect if you are using multiple versions of the framework, but we will look into it.
Issue moved to nunit/nunit #2316 via ZenHub
When I run test that is in test fixture that inherits from class containing [SetUp] AND/OR [TearDown] AND/OR [TestFixture] attribute and is located in different assembly, then test is NOT discovered.
VS Output:
Platform:
Required nugets:
Example:
Consider Following cases: