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
Support wildcards in filenames for vstest.console.exe #1663
Comments
Indeed, if we were to support wildcards in filenames, it will need to be supported uniformly by |
@vagisha-nidhi is this done. I see that there was a PR above that was merged with this support |
@acesiddhu Yes this is complete |
@vagisha-nidhi Do you perhaps now in which version this improvement has been included? |
@nphmuller Here is the latest version that is released https://github.com/microsoft/vstest/releases/tag/v16.3.0-preview-20190808-03 |
I'm working on creating a differential build for our Monolithic solution and so don't want to run all the test files on every build and run only those which have been impacted. I've the logic for differential pieces and I'm thinking of using VSTest.Console.exe to run those test files and so would need to include wildcards in the path as well as file names. I tried doing that on my Visual Studio Command prompt but that does not look like takes wildcards and I get the error that the test Source file provided was not found. So, how do I get this version running on my local as well as on the Azure Build Pipelines which will take the wildcards in the filepaths and filenames. Thanks |
Description
I'm using dotnet cli extensively and (almost) all commands have wildcard support. (dotnet restore, build, test, etc). It would be great to be able to do
vstest.console.exe /path/to/project/tests/**.Tests/**/*.Tests.dll
.Or in my case
dotnet vstest /path/to/project/tests/**.Tests/**/*.Tests.dll
.The text was updated successfully, but these errors were encountered: