-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make default test pattern narrower (#16772)
* Make default test pattern more narrow VSTest2 task specifies a very wide dll matching pattern which includes many unexpected dlls. This includes all TestPlatform dlls, test framework dlls, and often dlls from local nuget package cache. Instead replace it with pattern that matches dlls from bin folder only, and matches the common test dll naming pattern such as: Product.Tests.dll Product.Test.dll ProductUnitTests.dll Product.Unit.Tests.dll But does not match *TestPlatform*.dll or MSTest.TestFramework.dll. This leads to more correct test runs, and faster test runs. Related microsoft/vstest#3939 * Update versions * Update Tasks/VsTestV2/task.loc.json * Fix stars in loc pattern --------- Co-authored-by: triptijain2112 <92331194+triptijain2112@users.noreply.github.com> Co-authored-by: Vinayak <110326599+vinayakmsft@users.noreply.github.com>
- Loading branch information
1 parent
b82b1f7
commit 12b9a6e
Showing
3 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters