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