2017-03-02 21:04:03 -08:00
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DotNet.Tools.Test
2016-12-01 17:15:25 -08:00
{
internal class LocalizableStrings
{
public const string AppFullName = ".NET Test Driver" ;
public const string AppDescription = "Test Driver for the .NET Platform" ;
public const string CmdArgProject = "PROJECT" ;
2017-02-07 15:14:43 -08:00
public const string CmdArgDescription = "The project to test. Defaults to the current directory." ;
2016-12-01 17:15:25 -08:00
2016-12-16 14:47:27 -08:00
public const string CmdSettingsFile = "SETTINGS_FILE" ;
2016-12-01 17:15:25 -08:00
public const string CmdSettingsDescription = "Settings to use when running tests." ;
public const string CmdListTestsDescription = @"Lists discovered tests" ;
2016-12-16 14:47:27 -08:00
public const string CmdTestCaseFilterExpression = "EXPRESSION" ;
2016-12-01 17:15:25 -08:00
public const string CmdTestCaseFilterDescription = @ "Run tests that match the given expression.
Examples :
2016-12-16 18:50:19 -08:00
Run tests with priority set to 1 : - - filter "" Priority = 1 ""
Run a test with the specified full name : - - filter "" FullyQualifiedName = Namespace . ClassName . MethodName ""
Run tests that contain the specified name : - - filter "" FullyQualifiedName ~ Namespace . Class ""
More info on filtering support : https : //aka.ms/vstest-filtering
";
2016-12-01 17:15:25 -08:00
public const string CmdTestAdapterPathDescription = @ "Use custom adapters from the given path in the test run.
2016-12-16 14:47:27 -08:00
Example : - - test - adapter - path < PATH_TO_ADAPTER > ";
2016-12-01 17:15:25 -08:00
2017-03-10 13:18:14 -08:00
public const string CmdTestAdapterPath = "PATH_TO_ADAPTER" ;
2016-12-01 17:15:25 -08:00
public const string CmdLoggerOption = "LoggerUri/FriendlyName" ;
2017-03-02 21:04:03 -08:00
public const string CmdLoggerDescription = @ "Specify a logger for test results.
2017-05-02 21:30:51 -07:00
Example : - - logger "" trx [ ; LogFileName = < Defaults to unique file name > ] ""
More info on logger arguments support : https : //aka.ms/vstest-report";
2016-12-01 17:15:25 -08:00
2016-12-16 14:47:27 -08:00
public const string CmdConfiguration = "CONFIGURATION" ;
2016-12-01 17:15:25 -08:00
2017-02-07 15:14:43 -08:00
public const string CmdConfigDescription = "Configuration to use for building the project. Default for most projects is \"Debug\"." ;
2016-12-01 17:15:25 -08:00
2016-12-16 14:47:27 -08:00
public const string CmdFramework = "FRAMEWORK" ;
2016-12-01 17:15:25 -08:00
public const string CmdFrameworkDescription = @"Looks for test binaries for a specific framework" ;
2016-12-16 14:47:27 -08:00
public const string CmdOutputDir = "OUTPUT_DIR" ;
2016-12-01 17:15:25 -08:00
public const string CmdOutputDescription = @"Directory in which to find the binaries to be run" ;
2016-12-16 14:47:27 -08:00
public const string CmdPathToLogFile = "PATH_TO_FILE" ;
2016-12-01 17:15:25 -08:00
public const string CmdPathTologFileDescription = @ "Enable verbose logs for test platform.
Logs are written to the provided file . ";
public const string CmdNoBuildDescription = @"Do not build project before testing." ;
2016-12-30 15:34:00 +05:30
2017-04-04 12:40:18 +05:30
public const string CmdResultsDirectoryDescription = @ "The directory where the test results are going to be placed. The specified directory will be created if it does not exist.
2017-03-25 15:18:14 +05:30
Example : - - results - directory < PATH_TO_RESULTS_DIRECTORY > ";
2017-03-25 16:33:01 +05:30
public const string CmdPathToResultsDirectory = "PATH_TO_RESULTS_DIRECTORY" ;
2017-05-02 21:30:51 -07:00
public const string RunSettingsArgumentsDescription = @ "
RunSettings arguments :
Arguments to pass runsettings configurations through commandline . Arguments may be specified as name - value pair of the form [ name ] = [ value ] after "" - - "" . Note the space after - - .
Use a space to separate multiple [ name ] = [ value ] .
More info on RunSettings arguments support : https : //aka.ms/vstest-runsettings-arguments
Example : dotnet test - - MSTest . DeploymentEnabled = false MSTest . MapInconclusiveToFailed = True ";
public const string cmdCollectFriendlyName = "DATA_COLLECTOR_FRIENDLY_NAME" ;
public const string cmdCollectDescription = @ "Enables data collector for the test run.
More info here : https : //aka.ms/vstest-collect";
2016-12-01 17:15:25 -08:00
}
}