You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Enter feedback here]
I'm using nUnit, and for historic (and probably mistaken) reasons we have many jobs that run dotnet test --filter Category=MyCategory, and not dotnet test --filter TestCategory=MyCategory (notice the use of Category vs TestCategory). Apparently it works well, but because it's not documented (nor here nor I found anywhere else any reference about it), I can't tell whether it's safe to continue using it or not. So please either document that Category and TestCategory can be used interchangeably when filtering nUnit, or describe the differences.
Type of issue
Missing information
Description
[Enter feedback here]
I'm using nUnit, and for historic (and probably mistaken) reasons we have many jobs that run
dotnet test --filter Category=MyCategory
, and notdotnet test --filter TestCategory=MyCategory
(notice the use ofCategory
vsTestCategory
). Apparently it works well, but because it's not documented (nor here nor I found anywhere else any reference about it), I can't tell whether it's safe to continue using it or not. So please either document thatCategory
andTestCategory
can be used interchangeably when filtering nUnit, or describe the differences.Thank you!
Page URL
https://learn.microsoft.com/en-us/dotnet/core/testing/selective-unit-tests?pivots=nunit
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/testing/selective-unit-tests.md
Document Version Independent Id
e4443d71-7131-ae9b-447d-9ac0762a99fc
Article author
@smadala
Metadata
The text was updated successfully, but these errors were encountered: