resharper-xunit
resharper-xunit copied to clipboard
Custom trait not being picked up
When implementing a custom ITraitAttribute
and ITraitDiscoverer
I can see that the discoverer is being executed for the correct attribute, but you can't filter on that trait as it's not listed under Group by.
Unfortunately, this is due to the editor still using xunit v1 to do discovery and the fact that traits are gathered from the in-editor discovery. The runner is all v2, but doesn't gather or report info about traits. This relies upon the in-editor discovery being rewritten to use v2.
Which will happen aproximately when?
This is probably a dupe of #27.
Are there any plans to fix this?
Not in the immediate term. Rewriting the editor based test discovery is a large piece of work, and I'm not able to get on to it right now.
+1 Visual Studio's test runner display the correct categories!?
Now that R# has native support for xUnit, I'm not sure whether this repo is active any more. There's no mention on the README.
It seems there's an open issue on R#'s own issue tracker for this. Perhaps you should vote on it there to increase the chance it's worked on.
https://youtrack.jetbrains.com/issue/RSRP-458779