resharper-xunit icon indicating copy to clipboard operation
resharper-xunit copied to clipboard

Custom trait not being picked up

Open danielwertheim opened this issue 9 years ago • 7 comments

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.

danielwertheim avatar Mar 06 '15 09:03 danielwertheim

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.

citizenmatt avatar Apr 01 '15 16:04 citizenmatt

Which will happen aproximately when?

danielwertheim avatar Apr 02 '15 05:04 danielwertheim

This is probably a dupe of #27.

JacobSnyder avatar Jul 12 '15 21:07 JacobSnyder

Are there any plans to fix this?

gpetrou avatar Jul 03 '16 11:07 gpetrou

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.

citizenmatt avatar Jul 04 '16 13:07 citizenmatt

+1 Visual Studio's test runner display the correct categories!?

DoCode avatar Dec 19 '16 12:12 DoCode

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

drewnoakes avatar Apr 25 '17 10:04 drewnoakes