You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The filtering of testcases 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 the test filter via a file.
Steps to reproduce
Build a Filter that is too long for the commandline
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe"
/TestCaseFilter:"FullyQualifiedName=MainProject.Test.StringHelperTest.Concat_BothNotNull|FullyQualifiedName=MainProject.Test.StringHelperTest.Add_OnlyPositives|....
Expected behavior
Passing the TestCaseFilter via a filter file
Actual behavior
vstest.console not executable with such a long argument
The text was updated successfully, but these errors were encountered:
Another option is using response files. They currently don't work with dotnet test and dotnet vstest, but work just fine for vstest.console. Tracking that bug here: #3513
Description
The filtering of testcases 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 the test filter via a file.
Steps to reproduce
Build a Filter that is too long for the commandline
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe"
/TestCaseFilter:"FullyQualifiedName=MainProject.Test.StringHelperTest.Concat_BothNotNull|FullyQualifiedName=MainProject.Test.StringHelperTest.Add_OnlyPositives|....
Expected behavior
Passing the TestCaseFilter via a filter file
Actual behavior
vstest.console not executable with such a long argument
The text was updated successfully, but these errors were encountered: