-
Notifications
You must be signed in to change notification settings - Fork 291
Open
Labels
Area: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core librarymtp-migration-challenge
Description
In MTP, filtering tests is a bit of an issue when talking about any "common" infrastructure that can be used by multiple repos/projects that might be using different test frameworks.
With VSTest, excluding by trait was simple. Just --filter "TestCategory!=Failing" and that works for all frameworks (hopefully?)
This is quite a problem with MTP.
- MSTest/NUnit: The VSTest filter continues to work.
- xunit 2 via YTest.MTP.XUnit2: The VSTest filter continues to work.
- xunit.v3: The VSTest filter no longer works as of today (Pending outcome of Experiment (PoC): Support VSTest-based --filter for MTP xunit/xunit#3466?)
- TUnit: The VSTest filter no longer works.
Generally speaking, there is unfortunately no standardized filter, which makes it harder for users.
Metadata
Metadata
Assignees
Labels
Area: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core librarymtp-migration-challenge