Skip to content
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

VsTest Console - TestCaseFilter #2357

Closed
AutomationTester01 opened this issue Mar 5, 2020 · 2 comments
Closed

VsTest Console - TestCaseFilter #2357

AutomationTester01 opened this issue Mar 5, 2020 · 2 comments

Comments

@AutomationTester01
Copy link

Description

The filtering of test cases can only be performed directly in the command line (https://github.com/Microsoft/vstest-docs/blob/master/docs/filter.md).
In my use case scenario, I need to filter individual test cases by FullyQualifiedName causing the arguments to get too long for the command line (> 32,767 characters).

It would be beneficial if it would be possible to pass some file which contains fully qualified paths as a parameter to the vstest console.

@nohwnd
Copy link
Member

nohwnd commented Mar 5, 2020

Would runsettings be good enough? #2273

@nohwnd
Copy link
Member

nohwnd commented Mar 24, 2022

Runsettings in the linked PR are the way forward. Command line size limits are set by OS and we cannot do anything about that.

Solution and example here: #2273 (comment)

I was able to test this successfully with 10k and 65k tests, that I all chose by the fully qualified name filter. The filter size was 600k chars for the 10k run, and some 3,500k for the 65k run. So 10 and 100 times the size on the command line.

@nohwnd nohwnd closed this as completed Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants