Exception "Not a TestFixture, SetUpFixture or TestSuite, but ParameterizedFixture" #867
-
After upgrading from 3.17.0 to 4.0.0 I'm getting the following exception when running tests within the VS test runner:
The class looks basically like this: [TestFixture(typeof(SomeClassA))]
[TestFixture(typeof(SomeClassB))]
[TestFixture(typeof(SomeClassC))]
internal class CommonTests<T> : TestFixtureBase
{
// ...
}
Any help what the problem might be? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
Can you provide a small repro for this? |
Beta Was this translation helpful? Give feedback.
Can you provide a small repro for this?
It is the internal engine adapter that parses the XML from the engine that is being "surprised" by something here.
What you can do is to turn on the dump features in the runsettings file and upload the results there. That will probably give a good hint. See https://docs.nunit.org/articles/vs-test-adapter/Tips-And-Tricks.html#dumpxmltestdiscovery-and-dumpxmltestresults