-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestCategory no longer works for VsTest #4782
Comments
I don't think I follow what is not working. Can you please give a list of simple steps to reproduce this? |
For a repo of steps just use the above chnages to your appium project and then TestCategory added in Test Criteria for vsTest will no longer work. |
I am using Run Settings and I have tried putting User Subscription in there as well but still it runs all tests not just the category I choose. The correct amount of tests is 16 but they all run without Category filtering them. |
Does anyone know where this line SourceFilter: ThisWontBeUsed might be coming from? In the past I never saw it now I have run setting files but they should not be doing anything to source filters. |
I was able to get everything to run by turning Batch off. Unfortunately turning off Batch options makes my pipeline unable to re-run failed tests.I know that was a work around was the issue ever fixed. |
Is anyone else experiencing or reporting this issue. It was working but now its not and I cant figure out why? The batching if clicked will not run using your Category Filter but If you turn batching off it will not re-run failed tests. Saying that it could not find them. |
This is the state of my VSTest any ideas on next steps? |
Could you sum this up into a simple repro please? I think what is happening is that running with batches is running your tests with DTAgent, and that ignores commandline parameters like the filter. Are you setting the filter on commandline or in runsettings file? |
Command line. It is being run in Vstest with the filter in the test.
…On Mon, Jul 8, 2024, 6:25 AM Jakub Jareš ***@***.***> wrote:
Could you sum this up into a simple repro please?
I think what is happening is that running with batches is running your
tests with DTAgent, and that ignores commandline parameters like the filter.
Are you setting the filter on commandline or in runsettings file?
—
Reply to this email directly, view it on GitHub
<#4782 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGVOYNT4F7TDPBXZYJRAYLZLJSKTAVCNFSM6AAAAABALSMPAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJTGYZDSMZTGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Please share a repro project and a command that shows the problem. |
I changed my appium dotnet version and had to add yaml run settings files for the cloud provider I am using. I am running this in Azure Pipeline with VsTest. The output seems like it knows how many tests should run with the Category but gives this message:
now IsValidServiceResponse: Received None command..Service Workflow is not active
Creating run for selected test assemblies with following parameters
SourceFilter: ThisWontBeUsed TestCaseFilter: TestCategory=UserSubscription
Run title: TestRun_TestAutomationBSIntegration_Release-598
Why will it not be used? I even tried adding to the Runsettigns filter (TestCategory = UserSubscription) but that still gives me the same error
The text was updated successfully, but these errors were encountered: