Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration tests for dotnet test scenarios #45138

Draft
wants to merge 77 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
e120e68
add integration tests
mariam-abdulla Nov 26, 2024
c4e849a
Add some packages
mariam-abdulla Nov 26, 2024
fad998d
Add tests for hybrid mode handling
mariam-abdulla Nov 26, 2024
0e13d3e
Update tests
mariam-abdulla Nov 26, 2024
2231ca9
Add and remove empty lines
mariam-abdulla Nov 26, 2024
8f15feb
Update tests
mariam-abdulla Nov 26, 2024
c739d30
Merge remote-tracking branch 'origin/main' into dev/mabdullah/add-int…
mariam-abdulla Nov 26, 2024
8d5fb09
Fix test project
mariam-abdulla Nov 27, 2024
4f16e31
Replace MicrosoftTestingExtensionsTrxReportVersion with MicrosoftTest…
mariam-abdulla Nov 27, 2024
7365957
remove comment
mariam-abdulla Nov 27, 2024
17a1d31
Replace mstest constant value
mariam-abdulla Nov 27, 2024
9723cd2
Add test for dotnet test --coverage
mariam-abdulla Dec 3, 2024
f57fc16
Update testproject.csproj
mariam-abdulla Dec 3, 2024
362d531
update tests
mariam-abdulla Dec 5, 2024
f18cef6
Merge branch 'main' into dev/mabdullah/add-integration-tests-for-dotn…
mariam-abdulla Dec 5, 2024
3a54918
Read global.json to decide to run in vstest or testing platform mode
mariam-abdulla Dec 11, 2024
0a8086a
remove unused method
mariam-abdulla Dec 11, 2024
e6a4458
Merge branch 'main' into dev/mabdullah/read-globaljson-in-dotnet-test
mariam-abdulla Dec 16, 2024
9b76b5b
Update reading of global.json
mariam-abdulla Dec 16, 2024
1ed22d4
Merge branch 'dev/mabdullah/read-globaljson-in-dotnet-test' of https:…
mariam-abdulla Dec 16, 2024
4ba585b
Update namespace
mariam-abdulla Dec 16, 2024
78971a2
Update var names
mariam-abdulla Dec 16, 2024
f0962da
Add CmdUnsupportedTestRunnerDescription to localizable strings
mariam-abdulla Dec 16, 2024
dbb40af
Merge remote-tracking branch 'origin/main' into dev/mabdullah/add-int…
mariam-abdulla Dec 16, 2024
d63b8a2
Merge branch 'dev/mabdullah/read-globaljson-in-dotnet-test' into dev/…
mariam-abdulla Dec 16, 2024
1d22160
Update tests after global.json update
mariam-abdulla Dec 16, 2024
3faf6e1
Add more tests to validate global.json
mariam-abdulla Dec 17, 2024
e9c2a23
Use msbuild APIs to load projects
mariam-abdulla Jan 3, 2025
e7bcc8a
Add space
mariam-abdulla Jan 3, 2025
5c5e0d1
merge from main
mariam-abdulla Jan 6, 2025
8d747c7
Fix formatting
mariam-abdulla Jan 6, 2025
2b02833
Add comments
mariam-abdulla Jan 6, 2025
0f6ae3b
merge from main
mariam-abdulla Jan 6, 2025
5254d7e
Remove unneeded files
mariam-abdulla Jan 6, 2025
f4cce4e
Update src/Cli/dotnet/commands/dotnet-test/TestingPlatformCommand.cs
mariam-abdulla Jan 6, 2025
f078060
Replace 0 and 1 with constants
mariam-abdulla Jan 6, 2025
4c9add2
Merge branch 'dev/mabdullah/use-msbuild-apis-to-retrieve-project-prop…
mariam-abdulla Jan 6, 2025
771c1f1
Return from InitializeTestApplications() if _areTestingPlatformApplic…
mariam-abdulla Jan 6, 2025
def3cb8
Update method name
mariam-abdulla Jan 6, 2025
3b75ca8
Use aggregator overload in ProcessProjectsInParallel()
mariam-abdulla Jan 6, 2025
8e3b723
Apply some comments
mariam-abdulla Jan 6, 2025
b7b79ef
Remove ?
mariam-abdulla Jan 7, 2025
5349e6c
Update GetSolutionFilePaths
mariam-abdulla Jan 7, 2025
cbc3389
Use Microsoft.VisualStudio.SolutionPersistence namespace to parse sol…
mariam-abdulla Jan 7, 2025
9284893
Add GetSlnFileFullPath and GetProjectFileFullPath methods in Extensio…
mariam-abdulla Jan 7, 2025
6b42f48
Refactor
mariam-abdulla Jan 7, 2025
51c7424
Update ParseSolution to use GetSerializerByMoniker
mariam-abdulla Jan 7, 2025
3855845
Merge branch 'main' into dev/mabdullah/use-msbuild-apis-to-retrieve-p…
mariam-abdulla Jan 8, 2025
33eae8e
Add some tests
mariam-abdulla Jan 8, 2025
082f260
Update src/Cli/dotnet/commands/dotnet-test/TestingPlatformCommand.cs
mariam-abdulla Jan 8, 2025
ae87351
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla Jan 8, 2025
3e26cd3
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla Jan 8, 2025
31593b0
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla Jan 8, 2025
f781164
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla Jan 8, 2025
7e359d1
Merge branch 'main' into dev/mabdullah/use-msbuild-apis-to-retrieve-p…
mariam-abdulla Jan 8, 2025
3c3d56b
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla Jan 8, 2025
55d247d
Apply comments
mariam-abdulla Jan 8, 2025
d3b11c5
merge
mariam-abdulla Jan 8, 2025
41323d4
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla Jan 8, 2025
a774524
Use Lock
mariam-abdulla Jan 8, 2025
9d17be2
Merge branch 'dev/mabdullah/use-msbuild-apis-to-retrieve-project-prop…
mariam-abdulla Jan 8, 2025
3f66a69
Update -bl logic
mariam-abdulla Jan 8, 2025
97b5ae9
Merge branch 'main' into dev/mabdullah/use-msbuild-apis-to-retrieve-p…
mariam-abdulla Jan 8, 2025
4f2b769
Remove unused var
mariam-abdulla Jan 8, 2025
6504a67
Merge branch 'dev/mabdullah/use-msbuild-apis-to-retrieve-project-prop…
mariam-abdulla Jan 8, 2025
c3dc4f2
Support --solution
mariam-abdulla Jan 9, 2025
d96f016
merge
mariam-abdulla Jan 9, 2025
517c20a
refactor code
mariam-abdulla Jan 9, 2025
59136fb
merge
mariam-abdulla Jan 10, 2025
d393e58
merge and add tests for --solution and --directory
mariam-abdulla Jan 13, 2025
d96491d
Merge remote-tracking branch 'origin/main' into dev/mabdullah/add-int…
mariam-abdulla Jan 14, 2025
e009cb8
Fixes
mariam-abdulla Jan 14, 2025
c5fad3d
remove empty line
mariam-abdulla Jan 14, 2025
6f5fd7c
Fix MicrosoftTestingPlatformVersion
mariam-abdulla Jan 14, 2025
fed7822
Remove unused prop
mariam-abdulla Jan 14, 2025
17705c2
Update csproj files
mariam-abdulla Jan 14, 2025
e82c529
remove unused files
mariam-abdulla Jan 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update tests after global.json update
  • Loading branch information
mariam-abdulla committed Dec 16, 2024
commit 1d22160990d24b8bd68f6d5b129265cd9fdb205c
2 changes: 0 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@
<PackageVersion Include="Microsoft.Testing.Extensions.TrxReport" Version="$(MicrosoftTestingPlatformVersion)" />
<PackageVersion Include="Microsoft.TestPlatform.Build" Version="$(MicrosoftTestPlatformBuildPackageVersion)" />
<PackageVersion Include="Microsoft.TestPlatform.CLI" Version="$(MicrosoftTestPlatformCLIPackageVersion)" />
<PackageVersion Include="Microsoft.Testing.Platform" Version="$(MicrosoftTestingPlatformPackageVersion)" />
<PackageVersion Include="Microsoft.Testing.Extensions.TrxReport" Version="$(MicrosoftTestingExtensionsTrxReportVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.Composition" Version="17.4.16" />
<PackageVersion Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Version="$(MicrosoftVisualStudioSetupConfigurationInteropVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.SolutionPersistence" Version="1.0.26" />
Expand Down
8 changes: 0 additions & 8 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,6 @@
<Dependency Name="Microsoft.TestPlatform.Build" Version="17.13.0-preview-24610-01">
<Uri>https://github.com/microsoft/vstest</Uri>
<Sha>fc785088a28006c774dcfe0916b69ff54e6f99c1</Sha>
</Dependency>
<Dependency Name="Microsoft.Testing.Platform" Version="1.5.0-preview.24516.3">
<Uri>https://github.com/microsoft/testfx</Uri>
<Sha>bc9161306b23641b0364b8f93d546da4d48da1eb</Sha>
</Dependency>
<Dependency Name="Microsoft.Testing.Extensions.TrxReport" Version="1.5.0-preview.24516.3">
<Uri>https://github.com/microsoft/testfx</Uri>
<Sha>bc9161306b23641b0364b8f93d546da4d48da1eb</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.vstest" Version="17.13.0-preview-24610-01">
Expand Down
4 changes: 0 additions & 4 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@
<!-- Dependencies from https://github.com/Microsoft/testfx -->
<MicrosoftTestingPlatformPackageVersion>1.7.0-dev</MicrosoftTestingPlatformPackageVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should not be commited as-is (it contains a -dev). Besides we are currently working on 1.6.0-preview at the moment.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it will be removed.

</PropertyGroup>
<PropertyGroup>
<!-- Dependencies from https://github.com/Microsoft/testfx -->
<MicrosoftTestingExtensionsTrxReportVersion>1.7.0-dev</MicrosoftTestingExtensionsTrxReportVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Dependencies from https://github.com/dotnet/roslyn-analyzers -->
<MicrosoftCodeAnalysisNetAnalyzersVersion>10.0.0-preview.24605.1</MicrosoftCodeAnalysisNetAnalyzersVersion>
Expand Down
2 changes: 1 addition & 1 deletion src/Cli/dotnet/commands/dotnet-test/TestApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private async Task<int> StartProcess(ProcessStartInfo processStartInfo)
{
if (VSTestTrace.TraceEnabled)
{
VSTestTrace.SafeWriteTrace(() => $"Updated args: {processStartInfo.Arguments}");
VSTestTrace.SafeWriteTrace(() => $"Test application arguments: {processStartInfo.Arguments}");
}

var process = Process.Start(processStartInfo);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
7 changes: 7 additions & 0 deletions test/TestAssets/TestProjects/TestProjectSolution/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
7 changes: 7 additions & 0 deletions test/TestAssets/TestProjects/TestProjectWithTests/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"test" : {
"runner": {
"name": "MicrosoftTestingPlatform"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public void DiscoverTestProjectWithNoTests_ShouldReturnOneAsExitCode(string conf

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute("--list-tests", TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand All @@ -46,7 +45,6 @@ public void DiscoverMultipleTestProjectsWithNoTests_ShouldReturnOneAsExitCode(st

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute("--list-tests", TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand Down Expand Up @@ -115,7 +113,6 @@ public void DiscoverProjectWithMSTestMetaPackageAndMultipleTFMsWithTests_ShouldR

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute("--list-tests", TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand All @@ -138,7 +135,6 @@ public void DiscoverTestProjectsWithHybridModeTestRunners_ShouldReturnOneAsExitC
//.WithTraceOutput() should be removed later on
CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.WithTraceOutput()
.Execute("--list-tests", TestingPlatformOptions.ConfigurationOption.Name, configuration);

Expand Down
3 changes: 0 additions & 3 deletions test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsHelp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public void RunHelpOnTestProject_ShouldReturnZeroAsExitCode(string configuration

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.WithTraceOutput()
.Execute(CliConstants.HelpOptionKey, TestingPlatformOptions.ConfigurationOption.Name, configuration);

Expand All @@ -44,7 +43,6 @@ public void RunHelpOnMultipleTestProjects_ShouldReturnZeroAsExitCode(string conf

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.WithTraceOutput()
.Execute(CliConstants.HelpOptionKey, TestingPlatformOptions.ConfigurationOption.Name, configuration);

Expand Down Expand Up @@ -73,7 +71,6 @@ public void RunHelpOnTestProjectsWithHybridModeTestRunners_ShouldReturnOneAsExit
//.WithTraceOutput() should be removed later
CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.WithTraceOutput()
.Execute(CliConstants.HelpOptionKey, TestingPlatformOptions.ConfigurationOption.Name, configuration);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public void RunTestProjectWithFilterOfDll_ShouldReturnZeroAsExitCode(string conf

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute(TestingPlatformOptions.TestModulesFilterOption.Name, "**/bin/**/Debug/net8.0/TestProject.dll",
TestingPlatformOptions.ConfigurationOption.Name, configuration);

Expand Down Expand Up @@ -66,7 +65,6 @@ public void RunTestProjectWithFilterOfDllWithRootDirectory_ShouldReturnZeroAsExi

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.WithTraceOutput()
.Execute(TestingPlatformOptions.TestModulesFilterOption.Name, "**/bin/**/Debug/net8.0/TestProject.dll",
TestingPlatformOptions.TestModulesRootDirectoryOption.Name, testInstance.TestRoot,
Expand Down
6 changes: 0 additions & 6 deletions test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public void RunTestProjectWithNoTests_ShouldReturnOneAsExitCode(string configura

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute(TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand All @@ -48,7 +47,6 @@ public void RunMultipleTestProjectsWithNoTests_ShouldReturnOneAsExitCode(string

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute(TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand All @@ -74,7 +72,6 @@ public void RunTestProjectWithTests_ShouldReturnZeroAsExitCode(string configurat

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute(TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand All @@ -101,7 +98,6 @@ public void RunMultipleTestProjectsWithFailingTests_ShouldReturnOneAsExitCode(st

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute(TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand All @@ -127,7 +123,6 @@ public void RunMultipleTestProjectsWithDifferentFailures_ShouldReturnOneAsExitCo

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute("--minimum-expected-tests 2",
TestingPlatformOptions.ConfigurationOption.Name, configuration);

Expand Down Expand Up @@ -159,7 +154,6 @@ public void RunTestProjectsWithHybridModeTestRunners_ShouldReturnOneAsExitCode(s
//.WithTraceOutput() should be removed later
CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.WithTraceOutput()
.Execute(TestingPlatformOptions.ConfigurationOption.Name, configuration);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public void RunMultipleProjectWithDifferentTFMsWithFailingTests_ShouldReturnOneA

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute(TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand Down Expand Up @@ -63,7 +62,6 @@ public void RunProjectWithMultipleTFMsWithFailingTests_ShouldReturnOneAsExitCode

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute(TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand Down Expand Up @@ -110,7 +108,6 @@ public void RunProjectWithMSTestMetaPackageAndMultipleTFMsWithFailingTests_Shoul

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute(TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public void RunTestProjectWithFailingTestsAndFileArtifacts_ShouldReturnOneAsExit

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute(TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand Down Expand Up @@ -54,7 +53,6 @@ public void RunTestProjectWithCodeCoverage_ShouldReturnOneAsExitCode(string conf

CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.WithEnableTestingPlatform()
.Execute("--coverage", TestingPlatformOptions.ConfigurationOption.Name, configuration);

if (!TestContext.IsLocalized())
Expand Down
Loading
Loading