Skip to content

Commit fbe2db6

Browse files
committed
Add dotnet.config
1 parent 670b124 commit fbe2db6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/dotnet-new.IntegrationTests/DotnetNewTestTemplatesTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,14 @@ public void MSTestAndPlaywrightProjectTemplate_WithCoverageToolAndTestRunner_Can
193193

194194
if (runDotnetTest)
195195
{
196+
if (testRunner == "Microsoft.Testing.Platform")
197+
{
198+
File.WriteAllText(Path.Combine(outputDirectory, "dotnet.config"), """
199+
[dotnet.test.runner]
200+
name = "Microsoft.Testing.Platform"
201+
""");
202+
}
203+
196204
var result = new DotnetTestCommand(_log, false)
197205
.WithWorkingDirectory(outputDirectory)
198206
.Execute(outputDirectory);

0 commit comments

Comments
 (0)