-
Notifications
You must be signed in to change notification settings - Fork 106
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
"Invalid type found in ExtractAllFixtures for test suite" exception with derived TestFixtureType in IFixtureBuilder #1121
Comments
Looking at the code in
|
In this case I can work around the issue by creating a normal |
@loop-evgeny Since you find the place where it happened, could you add a test and a fix for the issue as a PR ? |
Maybe! I'd like to, but now that we have a workaround, I'm not sure when I will get around to it. |
@OsirisTerje I debugged this a bit, and it seems that it's not that simple. The discovery XML contains I then checked out the old 3.17 version to see how it worked and it takes a completely different code path in Discovery.cs with So Maybe the proper fix would be to write the recognized base type to the discovery XML (and maybe the real type, too, if that's needed for something else), but I'm out of my depth there and would need to get much deeper into the project than I'm likely to have time for any time soon. |
dotnet test
)I have a custom
IFixtureBuilder
like thisWhen run with
dotnet test
this fails immediately with the following exception:The same code worked with NUnit3TestAdapter 3.17.0 (NUnit 3.12.0).
The text was updated successfully, but these errors were encountered: