File tree Expand file tree Collapse file tree 8 files changed +53
-28
lines changed
MSTest.Acceptance.IntegrationTests
Microsoft.Testing.Platform.Acceptance.IntegrationTests Expand file tree Collapse file tree 8 files changed +53
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"tools" : {
3
- "dotnet" : " 10.0.100-rc.1.25451.107 " ,
3
+ "dotnet" : " 10.0.100-rc.2.25464.104 " ,
4
4
"runtimes" : {
5
5
"dotnet" : [
6
6
" 3.1.32" ,
23
23
}
24
24
},
25
25
"sdk" : {
26
- "version" : " 10.0.100-rc.1.25451.107 " ,
26
+ "version" : " 10.0.100-rc.2.25464.104 " ,
27
27
"paths" : [
28
28
" .dotnet" ,
29
29
" $host$"
32
32
"allowPrerelease" : true ,
33
33
"rollForward" : " latestFeature"
34
34
},
35
+ "test" : {
36
+ "runner" : " Microsoft.Testing.Platform"
37
+ },
35
38
"msbuild-sdks" : {
36
39
"Microsoft.DotNet.Arcade.Sdk" : " 11.0.0-beta.25462.2" ,
37
40
"MSBuild.Sdk.Extras" : " 3.0.44"
Original file line number Diff line number Diff line change @@ -68,9 +68,12 @@ we end up with a -dev or -ci version which will lose resolution over -preview de
68
68
</ItemGroup>
69
69
</Project>
70
70
71
- #file dotnet.config
72
- [dotnet.test.runner]
73
- name= "VSTest"
71
+ #file global.json
72
+ {
73
+ "test": {
74
+ "runner": "VSTest"
75
+ }
76
+ }
74
77
75
78
#file UnitTest1.cs
76
79
Original file line number Diff line number Diff line change @@ -33,9 +33,12 @@ we end up with a -dev or -ci version which will lose resolution over -preview de
33
33
34
34
</Project>
35
35
36
- #file dotnet.config
37
- [dotnet.test.runner]
38
- name= "VSTest"
36
+ #file global.json
37
+ {
38
+ "test": {
39
+ "runner": "VSTest"
40
+ }
41
+ }
39
42
40
43
#file UnitTest1.cs
41
44
using Microsoft.VisualStudio.TestTools.UnitTesting;
@@ -473,9 +476,12 @@ public sealed class TestAssetFixture() : TestAssetFixtureBase(AcceptanceFixture.
473
476
</ItemGroup>
474
477
</Project>
475
478
476
- #file dotnet.config
477
- [dotnet.test.runner]
478
- name= "VSTest"
479
+ #file global.json
480
+ {
481
+ "test": {
482
+ "runner": "VSTest"
483
+ }
484
+ }
479
485
480
486
#file UnitTest1.cs
481
487
namespace AspireProject;
@@ -540,9 +546,12 @@ public async Task HomepageHasPlaywrightInTitleAndGetStartedLinkLinkingToTheIntro
540
546
}
541
547
}
542
548
543
- #file dotnet.config
544
- [dotnet.test.runner]
545
- name= "VSTest"
549
+ #file global.json
550
+ {
551
+ "test": {
552
+ "runner": "VSTest"
553
+ }
554
+ }
546
555
""" ;
547
556
548
557
public string AspireProjectPath => GetAssetPath ( AspireProjectName ) ;
Original file line number Diff line number Diff line change @@ -43,9 +43,12 @@ public void TestMethod1()
43
43
}
44
44
}
45
45
46
- #file dotnet.config
47
- [dotnet.test.runner]
48
- name= "VSTest"
46
+ #file global.json
47
+ {
48
+ "test": {
49
+ "runner": "VSTest"
50
+ }
51
+ }
49
52
""" ;
50
53
51
54
static AcceptanceTestBase ( )
Original file line number Diff line number Diff line change @@ -42,9 +42,12 @@ public async Task MSBuildTests_UseMSBuildTestInfrastructure_Should_Run_Solution_
42
42
string solutionFolder = Path . Combine ( tempDirectory . Path , "Solution" ) ;
43
43
VSSolution solution = new ( solutionFolder , "MSTestSolution" ) ;
44
44
string nugetFile = solution . AddOrUpdateFileContent ( "Nuget.config" , nugetConfigContent ) ;
45
- solution . AddOrUpdateFileContent ( "dotnet.config" , """
46
- [dotnet.test.runner]
47
- name= "VSTest"
45
+ solution . AddOrUpdateFileContent ( "global.json" , """
46
+ {
47
+ "test": {
48
+ "runner": "VSTest"
49
+ }
50
+ }
48
51
""" ) ;
49
52
for ( int i = 0 ; i < 3 ; i ++ )
50
53
{
Original file line number Diff line number Diff line change @@ -341,9 +341,12 @@ public async Task TestingPlatformDisableCustomTestTarget_Should_Cause_UserDefine
341
341
</Target>
342
342
</Project>
343
343
344
- #file dotnet.config
345
- [dotnet.test.runner]
346
- name= "VSTest"
344
+ #file global.json
345
+ {
346
+ "test": {
347
+ "runner": "VSTest"
348
+ }
349
+ }
347
350
348
351
#file Program.cs
349
352
using Microsoft.Testing.Platform.Builder;
Original file line number Diff line number Diff line change @@ -249,9 +249,12 @@ public sealed class TestAssetFixture() : TestAssetFixtureBase(AcceptanceFixture.
249
249
</ItemGroup>
250
250
</Project>
251
251
252
- #file dotnet.config
253
- [dotnet.test.runner]
254
- name= "VSTest"
252
+ #file global.json
253
+ {
254
+ "test": {
255
+ "runner": "VSTest"
256
+ }
257
+ }
255
258
256
259
#file Program.cs
257
260
using Microsoft.Testing.Extensions;
You can’t perform that action at this time.
0 commit comments