diff --git a/src/Cli/dotnet/commands/dotnet-test/LocalizableStrings.resx b/src/Cli/dotnet/commands/dotnet-test/LocalizableStrings.resx index faf4a8d055bc..df329e1cd920 100644 --- a/src/Cli/dotnet/commands/dotnet-test/LocalizableStrings.resx +++ b/src/Cli/dotnet/commands/dotnet-test/LocalizableStrings.resx @@ -199,8 +199,17 @@ RunSettings arguments: More info here: https://aka.ms/vstest-collect - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + The target framework to run tests for. The target framework must also be specified in the project file. @@ -217,4 +226,39 @@ Outputs a 'Sequence.xml' file in the current directory that captures the order o The following arguments have been ignored : "{0}" - \ No newline at end of file + + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + The type of crash dump to be collected. Implies --blame-crash. + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + DUMP_TYPE + + + DUMP_TYPE + + + TIMESPAN + + diff --git a/src/Cli/dotnet/commands/dotnet-test/TestCommandParser.cs b/src/Cli/dotnet/commands/dotnet-test/TestCommandParser.cs index df5a3fa4ed76..815a1b9fc18e 100644 --- a/src/Cli/dotnet/commands/dotnet-test/TestCommandParser.cs +++ b/src/Cli/dotnet/commands/dotnet-test/TestCommandParser.cs @@ -50,9 +50,9 @@ public static Command Test() => .With(name: LocalizableStrings.CmdLoggerOption) .ForwardAsSingle(o => { - var loggersString = string.Join(";", GetSemiColonEscapedArgs(o.Arguments)); + var loggersString = string.Join(";", GetSemiColonEscapedArgs(o.Arguments)); - return $"-property:VSTestLogger=\"{loggersString}\""; + return $"-property:VSTestLogger=\"{loggersString}\""; })), CommonOptions.ConfigurationOption(LocalizableStrings.ConfigurationOptionDescription), CommonOptions.FrameworkOption(LocalizableStrings.FrameworkOptionDescription), @@ -91,6 +91,55 @@ public static Command Test() => LocalizableStrings.CmdBlameDescription, Accept.NoArguments() .ForwardAsSingle(o => "-property:VSTestBlame=true")), + Create.Option( + "--blame-crash", + LocalizableStrings.CmdBlameCrashDescription, + Accept.NoArguments() + .ForwardAsSingle(o => "-property:VSTestBlameCrash=true")), + Create.Option( + "--blame-crash-dump-type", + LocalizableStrings.CmdBlameCrashDumpTypeDescription, + Accept.AnyOneOf( + "full", + "mini") + .With(name: LocalizableStrings.CrashDumpTypeArgumentName, defaultValue: () => "full") + .ForwardAsMany(o => new[] { + "-property:VSTestBlameCrash=true", + $"-property:VSTestBlameCrashDumpType={o.Arguments.Single()}" })), + Create.Option( + "--blame-crash-collect-always", + LocalizableStrings.CmdBlameCrashCollectAlwaysDescription, + Accept.NoArguments() + .ForwardAsMany(o => new[] { + "-property:VSTestBlameCrash=true", + "-property:VSTestBlameCrashCollectAlways=true" + })), + Create.Option( + "--blame-hang", + LocalizableStrings.CmdBlameHangDescription, + Accept.NoArguments() + .ForwardAsSingle(o => "-property:VSTestBlameHang=true")), + Create.Option( + "--blame-hang-dump-type", + LocalizableStrings.CmdBlameHangDumpTypeDescription, + Accept.AnyOneOf( + "full", + "mini", + "none") + .With(name: LocalizableStrings.HangDumpTypeArgumentName, defaultValue: () => "full") + .ForwardAsMany(o => new[] { + "-property:VSTestBlameHang=true", + $"-property:VSTestBlameHangDumpType={o.Arguments.Single()}" })), + Create.Option( + "--blame-hang-timeout", + LocalizableStrings.CmdBlameHangTimeoutDescription, + Accept.ExactlyOneArgument() + .With(name: LocalizableStrings.HangTimeoutArgumentName) + .ForwardAsMany(o => new[] { + "-property:VSTestBlameHang=true", + $"-property:VSTestBlameHangTimeout={o.Arguments.Single()}" + })), + Create.Option( "--nologo|/nologo", LocalizableStrings.CmdNoLogo, diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.cs.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.cs.xlf index 820afbdbe35c..ffd0e3d33ca6 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.cs.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.cs.xlf @@ -12,6 +12,52 @@ Testovací ovladač pro platformu .NET + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" Následující argumenty se ignorovaly: {0} @@ -154,9 +215,18 @@ Argumenty RunSettings: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - Spustí testy v režimu blame. Tato možnost je užitečná pro izolování problematického testu, který způsobuje chybové ukončení hostitele testů. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + Spustí testy v režimu blame. Tato možnost je užitečná pro izolování problematického testu, který způsobuje chybové ukončení hostitele testů. Výstupem je soubor Sequence.xml v aktuálním adresáři, do kterého se zaznamená pořadí provádění testů před chybovým ukončením. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.de.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.de.xlf index 93f42fbe2ea4..40cb307b3212 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.de.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.de.xlf @@ -12,6 +12,52 @@ Testtreiber für die .NET-Plattform + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" Die folgenden Argumente wurden ignoriert: {0} @@ -154,9 +215,18 @@ RunSettings-Argumente: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - Hiermit wird der Test im Modus "Verantwortung zuweisen" ausgeführt. Diese Option hilft bei der Isolierung eines problematischen Tests, der den Absturz des Testhosts verursacht. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + Hiermit wird der Test im Modus "Verantwortung zuweisen" ausgeführt. Diese Option hilft bei der Isolierung eines problematischen Tests, der den Absturz des Testhosts verursacht. Im aktuellen Verzeichnis wird eine Datei namens "Sequence.xml" ausgegeben, in der die Reihenfolge der Testausführung vor dem Absturz erfasst wird. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.es.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.es.xlf index 13ae592055e5..3ad9763ebfd1 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.es.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.es.xlf @@ -12,6 +12,52 @@ Controlador de pruebas para la plataforma .NET + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" Se han omitido los argumentos siguientes: "{0}" @@ -154,9 +215,18 @@ Argumentos RunSettings: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - Ejecuta las pruebas en modo de culpa. Esta opción es útil para aislar una prueba problemática que provoca el bloqueo del host de prueba. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + Ejecuta las pruebas en modo de culpa. Esta opción es útil para aislar una prueba problemática que provoca el bloqueo del host de prueba. Crea un archivo de salida "Sequence.xml" en el directorio actual que captura el orden de ejecución de la prueba antes del bloqueo. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.fr.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.fr.xlf index 0fcb83039c22..3fae39468695 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.fr.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.fr.xlf @@ -12,6 +12,52 @@ Pilote de test pour la plateforme .NET + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" Les arguments suivants ont été ignorés : "{0}" @@ -154,9 +215,18 @@ Arguments de RunSettings : - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - Permet d'exécuter le test en mode blame (responsabilité). Cette option permet d'isoler un test problématique à l'origine d'un plantage sur l'hôte de test. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + Permet d'exécuter le test en mode blame (responsabilité). Cette option permet d'isoler un test problématique à l'origine d'un plantage sur l'hôte de test. Elle génère dans le répertoire actif un fichier de sortie nommé 'Sequence.xml', qui capture l'ordre d'exécution du test avant le plantage. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.it.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.it.xlf index 9276718f1bc5..d319f11be271 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.it.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.it.xlf @@ -12,6 +12,52 @@ Driver di test per la piattaforma .NET + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" Gli argomenti seguenti sono stati ignorati: "{0}" @@ -154,9 +215,18 @@ Argomenti di RunSettings: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - Esegue i test in modalità di segnalazione errore. Questa opzione è utile per isolare il test problematico che causa l'arresto anomalo dell'host dei test. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + Esegue i test in modalità di segnalazione errore. Questa opzione è utile per isolare il test problematico che causa l'arresto anomalo dell'host dei test. Crea nella directory corrente un file di output denominato "Sequence.xml", in cui viene acquisito l'ordine di esecuzione del test prima dell'arresto anomalo. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ja.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ja.xlf index dc6a9ac5e09d..a584218117da 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ja.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ja.xlf @@ -12,6 +12,52 @@ .NET Platform 用テスト ドライバー + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" 次の引数は無視されました: "{0}" @@ -154,9 +215,18 @@ RunSettings 引数: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - 変更履歴モードでテストを実行します。このオプションは、テスト ホストのクラッシュの原因となる問題のあるテストを分離する場合に役立ちます。 + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + 変更履歴モードでテストを実行します。このオプションは、テスト ホストのクラッシュの原因となる問題のあるテストを分離する場合に役立ちます。 現在のディレクトリに、クラッシュする前のテスト実行順序をキャプチャした出力ファイル 'Sequence.xml' が作成されます。 diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ko.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ko.xlf index 5125d3797428..886fad0ac21f 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ko.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ko.xlf @@ -12,6 +12,52 @@ .NET 플랫폼용 테스트 드라이버입니다. + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" "{0}" 인수가 무시되었습니다. @@ -154,9 +215,18 @@ RunSettings 인수: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - 테스트를 원인 모드로 실행합니다. 이 옵션은 테스트 호스트 크래시를 유발하는 문제 있는 테스트를 격리하는 데 유용합니다. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + 테스트를 원인 모드로 실행합니다. 이 옵션은 테스트 호스트 크래시를 유발하는 문제 있는 테스트를 격리하는 데 유용합니다. 크래시 이전의 테스트 실행 순서를 캡처하는 현재 디렉터리의 'Sequence.xml' 파일을 출력합니다. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.pl.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.pl.xlf index 7ff558fd0168..67410c816f36 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.pl.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.pl.xlf @@ -12,6 +12,52 @@ Sterownik testów dla platformy .NET + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" Następujące argumenty zostały zignorowane: „{0}” @@ -154,9 +215,18 @@ Argumenty RunSettings: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - Uruchom testy w trybie Blame. Ta opcja jest przydatna przy izolowaniu problematycznego testu powodującego awarię hosta testów. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + Uruchom testy w trybie Blame. Ta opcja jest przydatna przy izolowaniu problematycznego testu powodującego awarię hosta testów. Tworzy w bieżącym katalogu plik wyjściowy „Sequence.xml”, który przechwytuje kolejność wykonywania testu przed awarią. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.pt-BR.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.pt-BR.xlf index d2a1e3f569c0..3357fcea3dad 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.pt-BR.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.pt-BR.xlf @@ -12,6 +12,52 @@ Driver de Teste para a Plataforma .NET + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" Os argumentos a seguir foram ignorados: "{0}" @@ -154,9 +215,18 @@ Argumentos de RunSettings: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - Executar os testes no modo de acusação. Essa opção é útil para isolar um teste problemático que esteja causando falha no host de teste. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + Executar os testes no modo de acusação. Essa opção é útil para isolar um teste problemático que esteja causando falha no host de teste. Emite um arquivo 'Sequence.xml' no diretório atual que captura a ordem de execução de teste antes da falha. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ru.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ru.xlf index d6d504e52496..0d38d4127a98 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ru.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.ru.xlf @@ -12,6 +12,52 @@ Драйвер тестов для платформы .NET + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" Следующие аргументы пропущены: "{0}" @@ -154,9 +215,18 @@ RunSettings arguments: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - Выполнение тестов в режиме обвинения. Этот параметр помогает изолировать проблемный тест, из-за которого в хосте для тестов возникает сбой. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + Выполнение тестов в режиме обвинения. Этот параметр помогает изолировать проблемный тест, из-за которого в хосте для тестов возникает сбой. В текущем каталоге создается выходной файл "Sequence.xml", в который записывается порядок выполнения теста перед сбоем. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.tr.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.tr.xlf index 04e42a7adf52..cf6844bff554 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.tr.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.tr.xlf @@ -12,6 +12,52 @@ .NET Platformunun Test Sürücüsü + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" Şu bağımsız değişkenler yoksayıldı: "{0}" @@ -154,9 +215,18 @@ RunSettings bağımsız değişkenleri: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - Testleri blame modunda çalıştırır. Bu seçenek, test konağının kilitlenmesine neden olan sorunlu testi yalıtmak için kullanışlıdır. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + Testleri blame modunda çalıştırır. Bu seçenek, test konağının kilitlenmesine neden olan sorunlu testi yalıtmak için kullanışlıdır. Geçerli dizinde testin kilitlenmeden önceki test yürütme sırasını yakalayan ‘Sequence.xml’ adlı dosyayı çıkarır. diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.zh-Hans.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.zh-Hans.xlf index 9de65a19d0b6..5615c5c62e78 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.zh-Hans.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.zh-Hans.xlf @@ -12,6 +12,52 @@ 适用于 .NET 平台的测试驱动程序 + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" 已忽略以下参数:“{0}” @@ -154,9 +215,18 @@ RunSettings 参数: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - 在追责模式下运行测试。此选项有助于隔离有问题的测试,以免导致测试主机崩溃。 + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + 在追责模式下运行测试。此选项有助于隔离有问题的测试,以免导致测试主机崩溃。 在当前目录中输出一个 "Sequence.xml" 文件,该文件在崩溃之前捕获测试的执行顺序。 diff --git a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.zh-Hant.xlf b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.zh-Hant.xlf index 6c731e684a8e..0526afcc5c03 100644 --- a/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.zh-Hant.xlf +++ b/src/Cli/dotnet/commands/dotnet-test/xlf/LocalizableStrings.zh-Hant.xlf @@ -12,6 +12,52 @@ 適用於 .NET 平台的測試驅動程式 + + Enables collecting crash dump on expected as well as unexpected testhost exit. + Enables collecting crash dump on expected as well as unexpected testhost exit. + + + + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + Runs the tests in blame mode and enables collecting crash dump when testhost exits unexpectedly. +This option is currently only supported on Windows, and requires procdump.exe and procdump64.exe to be available in PATH. +Or PROCDUMP_PATH environment variable to be set, and point to a directory that contains procdump.exe and procdump64.exe. +The tools can be downloaded here: https://docs.microsoft.com/en-us/sysinternals/downloads/procdump +Implies --blame. + + + + The type of crash dump to be collected. Implies --blame-crash. + The type of crash dump to be collected. Implies --blame-crash. + + + + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + Run the tests in blame mode and enables collecting hang dump when test exceeds the given timeout. Implies --blame-hang. + + + + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + The type of crash dump to be collected. When None, is used then test host is terminated on timeout, but no dump is collected. Implies --blame-hang. + + + + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + Per-test timeout, after which hang dump is triggered and the testhost process is terminated. +The timeout value is specified in the following format: 1.5h / 90m / 5400s / 5400000ms. When no unit is used (e.g. 5400000), the value is assumed to be in milliseconds. +When used together with data driven tests, the timeout behavior depends on the test adapter used. For xUnit and NUnit the timeout is renewed after every test case, +For MSTest, the timeout is used for all testcases. +This option is currently supported only on Windows together with netcoreapp2.1 and newer. And on Linux with netcoreapp3.1 and newer. OSX and UWP are not supported. + + + + DUMP_TYPE + DUMP_TYPE + + + + DUMP_TYPE + DUMP_TYPE + + + + TIMESPAN + TIMESPAN + + The following arguments have been ignored : "{0}" 已忽略下列引數: "{0}" @@ -154,9 +215,18 @@ RunSettings 引數: - Run the tests in blame mode. This option is helpful in isolating a problematic test causing the test host to crash. -Outputs a 'Sequence.xml' file in the current directory that captures the order of execution of test before the crash. - 以 Blame 模式執行測試。此選項有助於釐清造成測試主機損毀的出錯測試。 + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash or hang. +When a crash is detected, it creates an sequence file in TestResults/guid/guid_Sequence.xml that captures the order of tests that were run before the crash. +Based on the additional settings, hang dump or crash dump can also be collected. +Example: + Timeout the test run when test takes more than the default timeout of 1 hour, and collect crash dump when the test host exits unexpectedly. + (Crash dumps require additional setup, see below.) + dotnet test --blame-hang --blame-crash +Example: + Timeout the test run when a test takes more than 20 minutes and collect hang dump. + dotnet test --blame-hang-timeout 20min + + 以 Blame 模式執行測試。此選項有助於釐清造成測試主機損毀的出錯測試。 其會在目前的目錄 (擷取損毀前執行測試的順序) 中輸出 'Sequence.xml' 檔案。