machine / machine.specifications

Machine.Specifications is a Context/Specification framework for .NET that removes language noise and simplifies tests.
MIT License
885 stars 178 forks source link

dotnet --list-tests should work with the filter #495

Open mikeblakeuk opened 1 year ago

mikeblakeuk commented 1 year ago

dotnet test --list-tests should produce a list of test that can be used to then filter the tests.

As per https://learn.microsoft.com/en-us/azure/devops/pipelines/test/parallel-testing-any-test-runner?view=azure-devops#sample-code

it could be the filtering is broken

mikeblakeuk commented 1 year ago

dotnet test --list-tests

Workaround is to use

dotnet test --filter "TestCase.DisplayName=NameFrom TheList"