WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET .Sdk" >
1+ <Project Sdk =" MSTest .Sdk" >
22
33 <PropertyGroup >
44 <!-- Limit .NET Framework tests to Windows build / test machines -->
1010
1111 <ItemGroup >
1212 <PackageReference Include =" FluentAssertions" Version =" 7.2.0" />
13- <PackageReference Include =" MSTest" Version =" 3.7.3" />
1413 <PackageReference Include =" MSBuild.ProjectCreation" Version =" 14.0.5" />
1514 <PackageReference Include =" TestableIO.System.IO.Abstractions.Extensions" Version =" 22.0.3" />
1615 <PackageReference Include =" TestableIO.System.IO.Abstractions.Wrappers" Version =" 22.0.11" />
1716 <PackageReference Include =" Verify.MSTest" Version =" 24.3.0-beta.4" /><!-- Testing MSTest source generator -->
18- <PackageReference Include =" coverlet.collector" Version =" 6.0.0" PrivateAssets =" all" />
1917 <PackageReference Include =" GetPackFromProject" Version =" 1.0.10" PrivateAssets =" all" />
2018 <ProjectReference Include =" ..\..\Verify.Nupkg\Verify.Nupkg.csproj" AddPackageAsOutput =" true" />
2119 </ItemGroup >
Original file line number Diff line number Diff line change 33 <When Condition =" '$(IsTestProject)' == 'true'" >
44
55 <PropertyGroup >
6+ <TestingPlatformDotnetTestSupport >true</TestingPlatformDotnetTestSupport >
7+ <TestingPlatformShowTestsFailure >true</TestingPlatformShowTestsFailure >
8+
69 <!-- Enable test logging to TRX files and place them in the artifacts directory -->
7- <VSTestLogger >trx%3bLogFileName=$(MSBuildProjectName).trx</VSTestLogger >
8- <VSTestResultsDirectory Condition =" '$(VSTestResultsDirectory)' == ''" >$(ArtifactsTestResultsPath)/$(TargetFramework)</VSTestResultsDirectory >
10+ <TestingPlatformCommandLineArguments >--report-trx --results-directory $(ArtifactsTestResultsPath)/$(TargetFramework)</TestingPlatformCommandLineArguments >
11+
12+ <!-- TODO: Fix Microsoft.Extensions.DependencyModel version conflict -->
13+ <EnableMicrosoftTestingExtensionsCodeCoverage >false</EnableMicrosoftTestingExtensionsCodeCoverage >
914 </PropertyGroup >
1015
1116 </When >
Original file line number Diff line number Diff line change 44 "rollForward" : " feature"
55 },
66 "msbuild-sdks" : {
7- "Microsoft.Build.Traversal" : " 4.1.82"
7+ "Microsoft.Build.Traversal" : " 4.1.82" ,
8+ "MSTest.Sdk" : " 3.7.3"
89 }
910}
You can’t perform that action at this time.
0 commit comments