1 instantiation of TestCommand
dotnet (1)
Commands\Test\VSTest\TestCommand.cs (1)
229
TestCommand testCommand =
new
(
7 references to TestCommand
dotnet (5)
Commands\Test\TestCommandParser.cs (1)
310
command.SetAction(
TestCommand
.Run);
Commands\Test\VSTest\TestCommand.cs (3)
155
public static
TestCommand
FromArgs(string[] args, string? testSessionCorrelationId = null, string? msbuildPath = null)
169
private static
TestCommand
FromParseResult(ParseResult result, string[] settings, string testSessionCorrelationId, string[] additionalBuildProperties, string? msbuildPath = null)
229
TestCommand
testCommand = new(
Commands\VSTest\VSTestCommand.cs (1)
37
exitCode |=
TestCommand
.RunArtifactPostProcessingIfNeeded(testSessionCorrelationId, parseResult, FeatureFlag.Instance);
dotnet.Tests (2)
CommandTests\MSBuild\GivenDotnetTestInvocation.cs (2)
4
using TestCommand = Microsoft.DotNet.Cli.Commands.Test.
TestCommand
;
38
expectedAdditionalArgs.Should().BeSubsetOf(
TestCommand
.FromArgs(args, testSessionCorrelationId, msbuildPath).GetArgumentTokensToMSBuild());