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
NUnit3TestAdapter 4.0.0 - DiscoveryException: Not a TestFixture, SetUpFixture or TestSuite, but ParameterizedFixture #884
Comments
I've transferred the issue to the adapter project. This sounds related to #867 |
Yes, except we lack a repro, perhaps @thomhurst can provide a small repro ? |
@OsirisTerje Clone this repo and run the powershell script (or run |
Thanks @thomhurst ! I've added the discovery xml from your repro to a unit test (ThatSetUpFixtureWorksIssue884) in the project, and it confirmed the issue! I've also added a fix for this. I thought this case was covered but turned out the XML was slightly off, so this triggered. Using the fixed adapter, it also works on your repro: An alpha01 package is attached to this comment. Very nice if you could verify on your system too. Thanks for reporting this, and providing the repro! |
@OsirisTerje brilliant, that works for me! Glad I could help :) |
Fix for issue #884. Added ParameterizedFixtures as children of Setup…
I have a pipeline in TeamCity, and I recently upgraded the NUnit3TestAdapter package from 3.17.0 to 4.0.0
I noticed that the pipeline didn't fail, but TeamCity didn't show my tests as having being run.
I looked into the build log and can see this exception:
Tests are being run on .NET Core 3.1
The text was updated successfully, but these errors were encountered: