Skip to content

Commit

Permalink
Allow core-only tests
Browse files Browse the repository at this point in the history
Uses the existing category from Xunit.NetCore.Extensions
  • Loading branch information
rainersigwald committed Oct 21, 2019
1 parent 7cd940c commit af395fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<XunitOptions Condition="'$(OsEnvironment)'=='windows' and '$(MonoBuild)' == 'true'">$(XunitOptions) -notrait category=mono-windows-failing</XunitOptions>

<XunitOptions Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">$(XunitOptions) -notrait category=nonnetcoreapptests</XunitOptions>
<XunitOptions Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">$(XunitOptions) -notrait category=nonnetfxtests</XunitOptions>

<XunitOptions>$(XunitOptions) -notrait category=failing</XunitOptions>

Expand Down

0 comments on commit af395fb

Please sign in to comment.