File tree Expand file tree Collapse file tree 3 files changed +17
-8
lines changed
coverlet.integration.determisticbuild
coverlet.integration.tests Expand file tree Collapse file tree 3 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 66 <TargetFramework >net8.0</TargetFramework >
77 <IsPackable >false</IsPackable >
88 <AssemblyName >coverletsample.integration.determisticbuild</AssemblyName >
9- <MSBuildWarningsAsMessages >NU1604;NU1701 </MSBuildWarningsAsMessages >
9+ <MSBuildWarningsAsMessages >NU1604</MSBuildWarningsAsMessages >
1010 <ManagePackageVersionsCentrally >false</ManagePackageVersionsCentrally >
1111 <RestoreSources >
1212 https://api.nuget.org/v3/index.json;
1616
1717 <ItemGroup >
1818 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" $(MicrosoftNETTestSdkVersion)" />
19+ <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 8.0.0" />
1920 <PackageReference Include =" coverlet.msbuild" Version =" $(coverletMsbuildVersion)" >
2021 <PrivateAssets >all</PrivateAssets >
2122 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
Original file line number Diff line number Diff line change 99
1010namespace Coverlet . Integration . Tests
1111{
12- public class TestSDK_17_8_0 : Collectors
12+ public class TestSDK_17_13_0 : Collectors
1313 {
14- public TestSDK_17_8_0 ( )
14+ public TestSDK_17_13_0 ( )
1515 {
16- TestSDKVersion = "17.8 .0" ;
16+ TestSDKVersion = "17.13 .0" ;
1717 }
1818
1919 private protected override void AssertCollectorsInjection ( ClonedTemplateProject clonedTemplateProject )
@@ -27,19 +27,19 @@ private protected override void AssertCollectorsInjection(ClonedTemplateProject
2727 }
2828 }
2929
30- public class TestSDK_17_6_0 : Collectors
30+ public class TestSDK_17_12_0 : Collectors
3131 {
32- public TestSDK_17_6_0 ( )
32+ public TestSDK_17_12_0 ( )
3333 {
34- TestSDKVersion = "17.6 .0" ;
34+ TestSDKVersion = "17.12 .0" ;
3535 }
3636 }
3737
3838 public class TestSDK_Preview : Collectors
3939 {
4040 public TestSDK_Preview ( )
4141 {
42- TestSDKVersion = "17.9 .0-preview-23531 -01" ;
42+ TestSDKVersion = "17.14 .0-preview-25107 -01" ;
4343 }
4444 }
4545
Original file line number Diff line number Diff line change 1313
1414namespace Coverlet . Integration . Tests
1515{
16+ [ Collection ( "DeterministicBuild Collection" ) ]
1617 public class DeterministicBuild : BaseTest , IDisposable
1718 {
1819 private static readonly string s_projectName = "coverlet.integration.determisticbuild" ;
@@ -383,4 +384,11 @@ public void Dispose()
383384 File . Delete ( Path . Combine ( _testProjectPath , PropsFileName ) ) ;
384385 }
385386 }
387+ [ CollectionDefinition ( "DeterministicBuild Collection" , DisableParallelization = true ) ]
388+ public class DeterministicBuildCollection
389+ {
390+ // This class has no code, and is never created.
391+ // Its purpose is to be the place to apply [CollectionDefinition] and all the
392+ // ICollectionFixture<> interfaces.
393+ }
386394}
You can’t perform that action at this time.
0 commit comments