test-case-filter doesn’t accept multiple classes with OR in stryker-config.json #3247
Unanswered
mehmetpekdemir
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
We pass the test case filter into vstest directly, if it doesn't work I'm not sure it's a valid test case filter: https://github.com/microsoft/vstest/blob/main/src/Microsoft.TestPlatform.ObjectModel/Client/TestPlatformOptions.cs#L22 I looked it up and it seems like your syntax is supposed to work. What is the error you get? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a problem and I’d like to explain it to you in detail.
I’m using dotnet-stryker version 3.13.2.
My project is targeting .NET 8.0 and I'm using xUnit.
My stryker-config.json file looks like this:
I run it with the following command:
When I try to run this, I get an error.
I provided the test names using their namespace and class names.
What I want is for only the tests listed above to be executed, and the rest to be filtered out.
Can you help me?
Why isn’t this working?
Also,
I’ve tried different syntaxes for test-case-filter.
So far, the only one that worked was:
However, I want to filter using multiple tests with an OR condition.
Can you help me with this?
Beta Was this translation helpful? Give feedback.
All reactions