Add support for PlatformAttribute


Would be quite handy (and avoid a bunch of #ifs) if xUnit supported something like NUnit's PlatformAttribute: http://nunit.org/index.php?p=platform&r=2.5
Closed Mar 22, 2014 at 11:52 PM by BradWilson
We are not interested in this feature at this time, as it feels more like an integration testing feature than a unit testing feature.

The v2 workaround would be to add a custom discoverer that automatically filters out test cases at discovery time. We will write a sample that illustrates the process.