diff --git a/src/Cli/dotnet/Commands/CliCommandStrings.resx b/src/Cli/dotnet/Commands/CliCommandStrings.resx index 2a62ba8ec28d..9f1c63736fc3 100644 --- a/src/Cli/dotnet/Commands/CliCommandStrings.resx +++ b/src/Cli/dotnet/Commands/CliCommandStrings.resx @@ -565,6 +565,19 @@ This is equivalent to deleting project.assets.json. The directory where the test results will be placed. The specified directory will be created if it does not exist. + + Specifies a testconfig.json file. + + + CONFIG_FILE + + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + DIAGNOSTIC_DIR + ROOT_PATH diff --git a/src/Cli/dotnet/Commands/Test/MSBuildUtility.cs b/src/Cli/dotnet/Commands/Test/MSBuildUtility.cs index 8da1130f6ac8..f7059dafb155 100644 --- a/src/Cli/dotnet/Commands/Test/MSBuildUtility.cs +++ b/src/Cli/dotnet/Commands/Test/MSBuildUtility.cs @@ -69,14 +69,28 @@ public static BuildOptions GetBuildOptions(ParseResult parseResult, int degreeOf string? resultsDirectory = parseResult.GetValue(TestingPlatformOptions.ResultsDirectoryOption); if (resultsDirectory is not null) { - resultsDirectory = Path.Combine(Directory.GetCurrentDirectory(), resultsDirectory); + resultsDirectory = Path.GetFullPath(resultsDirectory); + } + + string? configFile = parseResult.GetValue(TestingPlatformOptions.ConfigFileOption); + if (configFile is not null) + { + configFile = Path.GetFullPath(configFile); + } + + string? diagnosticOutputDirectory = parseResult.GetValue(TestingPlatformOptions.DiagnosticOutputDirectoryOption); + if (diagnosticOutputDirectory is not null) + { + diagnosticOutputDirectory = Path.GetFullPath(diagnosticOutputDirectory); } PathOptions pathOptions = new( parseResult.GetValue(TestingPlatformOptions.ProjectOption), parseResult.GetValue(TestingPlatformOptions.SolutionOption), parseResult.GetValue(TestingPlatformOptions.DirectoryOption), - resultsDirectory); + resultsDirectory, + configFile, + diagnosticOutputDirectory); return new BuildOptions( pathOptions, diff --git a/src/Cli/dotnet/Commands/Test/Options.cs b/src/Cli/dotnet/Commands/Test/Options.cs index 4a48629c1cda..b17553c54365 100644 --- a/src/Cli/dotnet/Commands/Test/Options.cs +++ b/src/Cli/dotnet/Commands/Test/Options.cs @@ -5,7 +5,7 @@ namespace Microsoft.DotNet.Cli.Commands.Test; internal record TestOptions(bool HasFilterMode, bool IsHelp); -internal record PathOptions(string? ProjectPath, string? SolutionPath, string? DirectoryPath, string? ResultsDirectoryPath); +internal record PathOptions(string? ProjectPath, string? SolutionPath, string? DirectoryPath, string? ResultsDirectoryPath, string? ConfigFilePath, string? DiagnosticOutputDirectoryPath); internal record BuildOptions( PathOptions PathOptions, @@ -14,5 +14,6 @@ internal record BuildOptions( Utils.VerbosityOptions? Verbosity, bool NoLaunchProfile, bool NoLaunchProfileArguments, - int DegreeOfParallelism, List UnmatchedTokens, + int DegreeOfParallelism, + List UnmatchedTokens, IEnumerable MSBuildArgs); diff --git a/src/Cli/dotnet/Commands/Test/TestApplication.cs b/src/Cli/dotnet/Commands/Test/TestApplication.cs index ef58b4e8300f..7446cc55bf55 100644 --- a/src/Cli/dotnet/Commands/Test/TestApplication.cs +++ b/src/Cli/dotnet/Commands/Test/TestApplication.cs @@ -115,6 +115,16 @@ private string GetArguments(TestOptions testOptions) builder.Append($" {TestingPlatformOptions.ResultsDirectoryOption.Name} {ArgumentEscaper.EscapeSingleArg(resultsDirectoryPath)}"); } + if (_buildOptions.PathOptions.ConfigFilePath is { } configFilePath) + { + builder.Append($" {TestingPlatformOptions.ConfigFileOption.Name} {ArgumentEscaper.EscapeSingleArg(configFilePath)}"); + } + + if (_buildOptions.PathOptions.DiagnosticOutputDirectoryPath is { } diagnosticOutputDirectoryPath) + { + builder.Append($" {TestingPlatformOptions.DiagnosticOutputDirectoryOption.Name} {ArgumentEscaper.EscapeSingleArg(diagnosticOutputDirectoryPath)}"); + } + foreach (var arg in _buildOptions.UnmatchedTokens) { builder.Append($" {ArgumentEscaper.EscapeSingleArg(arg)}"); diff --git a/src/Cli/dotnet/Commands/Test/TestCommandParser.cs b/src/Cli/dotnet/Commands/Test/TestCommandParser.cs index 47f01864ef73..435a16bfc6c5 100644 --- a/src/Cli/dotnet/Commands/Test/TestCommandParser.cs +++ b/src/Cli/dotnet/Commands/Test/TestCommandParser.cs @@ -236,6 +236,8 @@ private static Command GetTestingPlatformCliCommand() command.Options.Add(TestingPlatformOptions.TestModulesFilterOption); command.Options.Add(TestingPlatformOptions.TestModulesRootDirectoryOption); command.Options.Add(TestingPlatformOptions.ResultsDirectoryOption); + command.Options.Add(TestingPlatformOptions.ConfigFileOption); + command.Options.Add(TestingPlatformOptions.DiagnosticOutputDirectoryOption); command.Options.Add(TestingPlatformOptions.MaxParallelTestModulesOption); command.Options.Add(CommonOptions.ArchitectureOption); command.Options.Add(CommonOptions.PropertiesOption); diff --git a/src/Cli/dotnet/Commands/Test/TestingPlatformOptions.cs b/src/Cli/dotnet/Commands/Test/TestingPlatformOptions.cs index cf2bb02965ec..e84407ba45cd 100644 --- a/src/Cli/dotnet/Commands/Test/TestingPlatformOptions.cs +++ b/src/Cli/dotnet/Commands/Test/TestingPlatformOptions.cs @@ -50,6 +50,20 @@ internal static class TestingPlatformOptions Arity = ArgumentArity.ExactlyOne }; + public static readonly Option ConfigFileOption = new("--config-file") + { + Description = CliCommandStrings.CmdConfigFileDescription, + HelpName = CliCommandStrings.CmdConfigFilePath, + Arity = ArgumentArity.ExactlyOne + }; + + public static readonly Option DiagnosticOutputDirectoryOption = new("--diagnostic-output-directory") + { + Description = CliCommandStrings.CmdDiagnosticOutputDirectoryDescription, + HelpName = CliCommandStrings.CmdDiagnosticOutputDirectoryPath, + Arity = ArgumentArity.ExactlyOne + }; + public static readonly Option MaxParallelTestModulesOption = new("--max-parallel-test-modules") { Description = CliCommandStrings.CmdMaxParallelTestModulesDescription, diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf index 64a073d7c81c..54d2e6a461ec 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf @@ -406,6 +406,11 @@ Pro MSTest před 2.2.4 se časový limit použije pro všechny testovací příp Cesta ke konfiguračnímu souboru NuGet, který se má použít. Vyžaduje přepínač --outdated, --deprecated nebo --vulnerable. + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ Pro MSTest před 2.2.4 se časový limit použije pro všechny testovací příp Konfigurační soubor NuGet, který se použije. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. Jako cílový modul runtime použijte aktuální modul. @@ -436,6 +446,18 @@ Pro MSTest před 2.2.4 se časový limit použije pro všechny testovací příp Vypíše balíčky, které jsou zastaralé. Nedá se kombinovat s možností --vulnerable ani --outdated. + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. Definuje cestu k adresáři pro spuštění. Pokud se nezadá, použije se výchozí nastavení aktuálního adresáře. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf index 109c182e2e04..b4ced47b66ed 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf @@ -406,6 +406,11 @@ für MSTest vor 2.2.4 wird das Timeout für alle Testfälle verwendet. Der Pfad zurNuGet-Konfigurationsdatei, die verwendet werden soll. Erfordert die Option "--outdated", "--deprecated" oder "--vulnerable". + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ für MSTest vor 2.2.4 wird das Timeout für alle Testfälle verwendet. Die zu verwendende NuGet-Konfigurationsdatei. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. Verwenden Sie die aktuelle Runtime als Zielruntime. @@ -436,6 +446,18 @@ für MSTest vor 2.2.4 wird das Timeout für alle Testfälle verwendet. Listet Pakete auf, die veraltet sind. Kann nicht mit den Optionen "--vulnerable" oder "--outdated" kombiniert werden. + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. Definiert den Pfad des auszuführenden Verzeichnisses. Wenn keine Angabe erfolgt, wird standardmäßig das aktuelle Verzeichnis verwendet. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf index 4b52ce438a03..578940ddbe61 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf @@ -406,6 +406,11 @@ Para MSTest antes de 2.2.4, el tiempo de espera se usa para todos los casos de p La ruta de acceso al archivo de configuración de NuGet que se va a usar. Requiere la opción "--outdated", "--deprecated" o "--vulnerable". + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ Para MSTest antes de 2.2.4, el tiempo de espera se usa para todos los casos de p Archivo de configuración de NuGet que debe usarse. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. Use el runtime actual como runtime de destino. @@ -436,6 +446,18 @@ Para MSTest antes de 2.2.4, el tiempo de espera se usa para todos los casos de p Muestra los paquetes que han quedado en desuso. No se puede combinar con las opciones "--outdated" o "--vulnerable". + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. Define la ruta de acceso del directorio que se va a ejecutar. Si no se especifica, el valor predeterminado es el directorio actual. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf index b82c108765ca..db480bee1cdc 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf @@ -406,6 +406,11 @@ Pour MSTest avant la version 2.2.4, le délai d’expiration est utilisé pour Chemin du fichier config NuGet à utiliser. Nécessite l'option '--outdated', '--deprecated' ou '--vulnerable'. + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ Pour MSTest avant la version 2.2.4, le délai d’expiration est utilisé pour Fichier de configuration NuGet à utiliser. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. Utilisez le runtime actuel en tant que runtime cible. @@ -436,6 +446,18 @@ Pour MSTest avant la version 2.2.4, le délai d’expiration est utilisé pour Liste les packages qui ont été dépréciés. Impossible à combiner avec les options '--vulnerable' ou '--outdated'. + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. Définit le chemin d’accès du répertoire à exécuter. Si rien n’est spécifié, la valeur par défaut est le répertoire actif. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf index 36ce6c7bf784..26ec278b58e1 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf @@ -406,6 +406,11 @@ Per MSTest anteriore a 2.2.4, il timeout viene usato per tutti i test case.Percorso del file config NuGet da usare. Richiede l'opzione '--outdated', '--deprecated' o '--vulnerable'. + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ Per MSTest anteriore a 2.2.4, il timeout viene usato per tutti i test case.File di configurazione NuGet da usare. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. Usa il runtime corrente come runtime di destinazione. @@ -436,6 +446,18 @@ Per MSTest anteriore a 2.2.4, il timeout viene usato per tutti i test case.Elenca i pacchetti che sono stati deprecati. Non può essere combinato con l'opzione '--vulnerable' o '--outdated'. + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. Definisce il percorso della directory da eseguire. Se non specificato, per impostazione predefinita viene usata la directory corrente. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf index ec5845275adf..8f055dda1fb1 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf @@ -406,6 +406,11 @@ For MSTest before 2.2.4, the timeout is used for all testcases. 使用する NuGet config ファイルのパス。'--outdated'、'--deprecated'、または '--vulnerable' のオプションが必要です。 + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ For MSTest before 2.2.4, the timeout is used for all testcases. 使用する NuGet 構成ファイル。 + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. 現在のランタイムをターゲット ランタイムとして使用します。 @@ -436,6 +446,18 @@ For MSTest before 2.2.4, the timeout is used for all testcases. 非推奨化されたパッケージを一覧表示します。'--vulnerable' または '--outdated' オプションと組み合わせることはできません。 + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. 実行するディレクトリのパスを定義します。指定しない場合は、既定で現在のディレクトリに設定されます。 diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf index 24a33bd40fbe..414fbe8dcd00 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf @@ -406,6 +406,11 @@ MSTest 2.2.4 이전의 경우 시간 제한은 모든 테스트케이스에 사 사용할 NuGet 구성 파일의 경로입니다. '--outdated', '--deprecated' 또는 '--vulnerable' 옵션이 필요합니다. + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ MSTest 2.2.4 이전의 경우 시간 제한은 모든 테스트케이스에 사 사용할 NuGet 구성 파일입니다. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. 현재 런타임을 대상 런타임으로 사용합니다. @@ -436,6 +446,18 @@ MSTest 2.2.4 이전의 경우 시간 제한은 모든 테스트케이스에 사 사용되지 않는 패키지를 나열합니다. '--vulnerable' 또는 '--outdated' 옵션과 함께 사용할 수 없습니다. + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. 실행할 디렉터리의 경로를 정의합니다. 지정하지 않으면 기본적으로 현재 디렉터리가 사용됩니다. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf index 3ab929146205..523d1e5bc399 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf @@ -406,6 +406,11 @@ W przypadku platformy MSTest przed wersją 2.2.4 limit czasu jest używany dla w Ścieżka do pliku konfiguracji NuGet do użycia. Wymaga opcji „--outdated”, „--deprecated” lub „--vulnerable”. + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ W przypadku platformy MSTest przed wersją 2.2.4 limit czasu jest używany dla w Plik konfiguracji programu NuGet do użycia. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. Użyj bieżącego środowiska uruchomieniowego jako docelowego środowiska uruchomieniowego. @@ -436,6 +446,18 @@ W przypadku platformy MSTest przed wersją 2.2.4 limit czasu jest używany dla w Wyświetla pakiety, które są przestarzałe. Nie można łączyć z opcją „--vulnerable” ani „--outdated”. + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. Definiuje ścieżkę katalogu do uruchomienia. Jeśli nie zostanie określony, domyślnie będzie to bieżący katalog. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf index c2d3b8d5b224..af18509b4019 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf @@ -406,6 +406,11 @@ Para MSTest antes de 2.2.4, o tempo limite é usado para todos os casos de teste O caminho para o arquivo de configuração do NuGet a ser usado. Exige a opção '--outdated', '--deprecated' ou '--vulnerable'. + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ Para MSTest antes de 2.2.4, o tempo limite é usado para todos os casos de teste O arquivo de configuração do NuGet a ser usado. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. Usar o runtime atual como o runtime de destino. @@ -436,6 +446,18 @@ Para MSTest antes de 2.2.4, o tempo limite é usado para todos os casos de teste Lista os pacotes que foram preteridos. Não pode ser combinado com a opção '--vulnerable' nem com a opção '--outdated'. + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. Define o caminho do diretório a ser executado. Se não for especificado, o padrão será o diretório atual. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf index 1b9fb6f85c3c..2ee1674dcc6f 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf @@ -406,6 +406,11 @@ For MSTest before 2.2.4, the timeout is used for all testcases. Путь к используемому файлу конфигурации NuGet. Требуется указать параметр "--outdated", "--deprecated" или "--vulnerable". + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ For MSTest before 2.2.4, the timeout is used for all testcases. Используемый файл конфигурации NuGet. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. Использовать текущую среду выполнения в качестве целевой среды выполнения. @@ -436,6 +446,18 @@ For MSTest before 2.2.4, the timeout is used for all testcases. Возвращает список устаревших пакетов. Не может использоваться с параметрами "--vulnerable" или "--outdated". + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. Определяет путь к каталогу для выполнения. Если не указано, по умолчанию используется текущий каталог. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf index 9009d605ee54..68494a0d3280 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf @@ -406,6 +406,11 @@ MSTest için 2.2.4'ten önce, zaman aşımı tüm test durumları için kullanı Kullanılacak NuGet yapılandırma dosyasının yolu. '--outdated', '--deprecated' veya '--vulnerable' seçeneğini gerektirir. + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ MSTest için 2.2.4'ten önce, zaman aşımı tüm test durumları için kullanı Kullanılacak NuGet yapılandırma dosyası. + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. Hedef çalışma zamanı olarak geçerli çalışma zamanını kullanın. @@ -436,6 +446,18 @@ MSTest için 2.2.4'ten önce, zaman aşımı tüm test durumları için kullanı Kullanım dışı bırakılan paketleri listeler. '--vulnerable' veya '--outdated' seçenekleriyle birleştirilemez. + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. Çalıştırılacak dizinin yolunu belirtir. Belirtilmezse, varsayılan olarak geçerli dizine ayarlar. diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf index f0de7d31f629..b5cc2f072eca 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf @@ -406,6 +406,11 @@ For MSTest before 2.2.4, the timeout is used for all testcases. 要使用的 NuGet 配置文件的路径。需要 "--outdated"、"--deprecated" 或 "--vulnerable" 选项。 + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ For MSTest before 2.2.4, the timeout is used for all testcases. 要使用的 NuGet 配置文件。 + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. 将当前运行时用作目标运行时。 @@ -436,6 +446,18 @@ For MSTest before 2.2.4, the timeout is used for all testcases. 列出已被弃用的包。不能与 "--vulnerable" 或 "--outdated" 选项结合使用。 + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. 定义要运行的目录的路径。如果未指定,则默认为当前目录。 diff --git a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf index 6b6ec748e046..8d712091fbf1 100644 --- a/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf +++ b/src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf @@ -406,6 +406,11 @@ For MSTest before 2.2.4, the timeout is used for all testcases. 要使用的 NuGet 組態檔路徑。需要 '--outdated'、'--deprecated' 或 '--vulnerable' 選項。 + + Specifies a testconfig.json file. + Specifies a testconfig.json file. + + FILE FILE @@ -416,6 +421,11 @@ For MSTest before 2.2.4, the timeout is used for all testcases. 要使用的 NuGet 組態檔。 + + CONFIG_FILE + CONFIG_FILE + + Use current runtime as the target runtime. 使用目前的執行階段作為目標執行階段。 @@ -436,6 +446,18 @@ For MSTest before 2.2.4, the timeout is used for all testcases. 列出已淘汰的套件。無法與 '--vulnerable' 或 '--outdated' 選項一併使用。 + + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + Output directory of the diagnostic logging. +If not specified the file will be generated inside the default 'TestResults' directory. + + + + DIAGNOSTIC_DIR + DIAGNOSTIC_DIR + + Defines the path of directory to run. If not specified, it defaults to the current directory. 定義要執行的目錄路徑。如果未指定,則預設為目前目錄。