diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/AzureDevOpsLogGroupReporter.cs b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/AzureDevOpsLogGroupReporter.cs index cfac9b8a1d..37abcce7d8 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/AzureDevOpsLogGroupReporter.cs +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/AzureDevOpsLogGroupReporter.cs @@ -70,7 +70,11 @@ public Task IsEnabledAsync() => Task.FromResult( _commandLineOptions.IsOptionSet(AzureDevOpsCommandLineOptions.AzureDevOpsOptionName) && AzureDevOpsConstants.IsRunningInAzureDevOps(_environment) - && AzureDevOpsConstants.IsFeatureKnobEnabled(_commandLineOptions, AzureDevOpsCommandLineOptions.AzureDevOpsGroups)); + && _commandLineOptions.TryGetOptionArgumentList( + AzureDevOpsCommandLineOptions.AzureDevOpsGroups, + out string[]? groupsArguments) + && groupsArguments is [string groupsValue] + && string.Equals(groupsValue, AzureDevOpsCommandLineOptions.OptionOn, StringComparison.OrdinalIgnoreCase)); // No-op: this consumer subscribes to data only to be ordered in the consumer phase at session // end (see the type-level remarks). It does not act on individual messages. diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/AzureDevOpsResources.resx b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/AzureDevOpsResources.resx index e99ebce90d..92fca88bd4 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/AzureDevOpsResources.resx +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/AzureDevOpsResources.resx @@ -293,7 +293,7 @@ {0} is the Azure DevOps run URL. {1} is the maximum number of pages. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.cs.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.cs.xlf index d707290c89..a1dadffafd 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.cs.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.cs.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - Umožňuje povolit nebo zakázat skupiny protokolů Azure DevOps pro jednotlivá sestavení (on nebo off). Výchozí hodnota je on. Vyžaduje --report-azdo. + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + Umožňuje povolit nebo zakázat skupiny protokolů Azure DevOps pro jednotlivá sestavení (on nebo off). Výchozí hodnota je on. Vyžaduje --report-azdo. {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.de.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.de.xlf index 476db0604d..1ebcd1c5a4 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.de.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.de.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - Aktivieren oder deaktivieren Sie assemblyspezifische Azure DevOps Protokollgruppen („on“ oder „off“). Wird standardmäßig auf „on“ festgelegt. Erfordert „--report-azdo“. + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + Aktivieren oder deaktivieren Sie assemblyspezifische Azure DevOps Protokollgruppen („on“ oder „off“). Wird standardmäßig auf „on“ festgelegt. Erfordert „--report-azdo“. {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.es.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.es.xlf index 5767de5163..71731e6344 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.es.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.es.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - Habilite o deshabilite los grupos de registros de Azure DevOps por ensamblado ("on" o "off"). El valor predeterminado es "on". Requiere "--report-azdo". + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + Habilite o deshabilite los grupos de registros de Azure DevOps por ensamblado ("on" o "off"). El valor predeterminado es "on". Requiere "--report-azdo". {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.fr.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.fr.xlf index 4e7ef42939..3f405ff301 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.fr.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.fr.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - Activez ou désactivez les groupes de journaux Azure DevOps par assembly (« on » ou « off »). La valeur par défaut est « on ». Nécessite « --report-azdo ». + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + Activez ou désactivez les groupes de journaux Azure DevOps par assembly (« on » ou « off »). La valeur par défaut est « on ». Nécessite « --report-azdo ». {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.it.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.it.xlf index cad0beda56..c362c8b07d 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.it.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.it.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - Abilita o disabilita i gruppi di log di Azure DevOps per assembly ('on' o 'off'). L'impostazione predefinita è 'on'. Richiede "--report-azdo". + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + Abilita o disabilita i gruppi di log di Azure DevOps per assembly ('on' o 'off'). L'impostazione predefinita è 'on'. Richiede "--report-azdo". {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ja.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ja.xlf index 69a0c8e6af..73c71a6839 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ja.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ja.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - アセンブリごとの Azure DevOps ログ グループを有効または無効にします('on' または 'off')。既定値は 'on' です。'--report-azdo' が必要です。 + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + アセンブリごとの Azure DevOps ログ グループを有効または無効にします('on' または 'off')。既定値は 'on' です。'--report-azdo' が必要です。 {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ko.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ko.xlf index d1c54f235e..1697151796 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ko.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ko.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - 어셈블리별 Azure DevOps 로그 그룹을 사용하거나 사용하지 않도록 설정합니다('on' 또는 'off'). 기본값은 'on'입니다. '--report-azdo'가 필요합니다. + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + 어셈블리별 Azure DevOps 로그 그룹을 사용하거나 사용하지 않도록 설정합니다('on' 또는 'off'). 기본값은 'on'입니다. '--report-azdo'가 필요합니다. {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.pl.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.pl.xlf index d5d10a4728..dbb774c963 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.pl.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.pl.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - Włącz lub wyłącz grupy dzienników usługi Azure DevOps dla poszczególnych zestawów („on” (włączone) lub „off” (wyłączone)). Domyślna wartość to „on” (włączone). Wymaga polecenia „--report-azdo”. + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + Włącz lub wyłącz grupy dzienników usługi Azure DevOps dla poszczególnych zestawów („on” (włączone) lub „off” (wyłączone)). Domyślna wartość to „on” (włączone). Wymaga polecenia „--report-azdo”. {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.pt-BR.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.pt-BR.xlf index d0940a61b2..20fcdc0887 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.pt-BR.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.pt-BR.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - Habilite ou desabilite os grupos de logs do Azure DevOps por assembly (''on'' ou ''off''). O padrão é ''on''. Requer ''--report-azdo''. + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + Habilite ou desabilite os grupos de logs do Azure DevOps por assembly (''on'' ou ''off''). O padrão é ''on''. Requer ''--report-azdo''. {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ru.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ru.xlf index 406c681670..46f7155f47 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ru.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.ru.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - Включить или отключить группы журналов Azure DevOps для каждой сборки ("on" или "off"). По умолчанию: "on". Требуется "--report-azdo". + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + Включить или отключить группы журналов Azure DevOps для каждой сборки ("on" или "off"). По умолчанию: "on". Требуется "--report-azdo". {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.tr.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.tr.xlf index a1afe2eaa3..c5bdf2c3f9 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.tr.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.tr.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - Derleme başına Azure DevOps günlük gruplarını ('on' veya 'off') etkinleştirin veya devre dışı bırakın. Varsayılan olarak 'on'. '--report-azdo' gerektirir. + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + Derleme başına Azure DevOps günlük gruplarını ('on' veya 'off') etkinleştirin veya devre dışı bırakın. Varsayılan olarak 'on'. '--report-azdo' gerektirir. {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.zh-Hans.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.zh-Hans.xlf index 0ed69a2da1..621f87455b 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.zh-Hans.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.zh-Hans.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - 启用或禁用每个程序集的 Azure DevOps 日志组("on" 或 "off")。默认为 "on"。需要 "--report-azdo"。 + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + 启用或禁用每个程序集的 Azure DevOps 日志组("on" 或 "off")。默认为 "on"。需要 "--report-azdo"。 {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.zh-Hant.xlf b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.zh-Hant.xlf index 27fb9e8a51..87fbb5e839 100644 --- a/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.zh-Hant.xlf +++ b/src/Platform/Microsoft.Testing.Extensions.AzureDevOpsReport/Resources/xlf/AzureDevOpsResources.zh-Hant.xlf @@ -258,8 +258,8 @@ {0} is the number of runs returned. {1} is the maximum number of runs to inspect. - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. - 啟用或停用每個組件的 Azure DevOps 記錄群組 ('on' 或 'off')。預設為 'on'。需要 '--report-azdo'。 + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. + 啟用或停用每個組件的 Azure DevOps 記錄群組 ('on' 或 'off')。預設為 'on'。需要 '--report-azdo'。 {Locked="on"}{Locked="off"}{Locked="--report-azdo"} diff --git a/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/DotnetTestPipe/DotnetTestPipeAzureDevOpsForwardingTests.cs b/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/DotnetTestPipe/DotnetTestPipeAzureDevOpsForwardingTests.cs index 59195457cf..1737d52dd1 100644 --- a/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/DotnetTestPipe/DotnetTestPipeAzureDevOpsForwardingTests.cs +++ b/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/DotnetTestPipe/DotnetTestPipeAzureDevOpsForwardingTests.cs @@ -34,7 +34,7 @@ public async Task DotnetTestPipe_WhenSdkSupports120AndRunningInAzureDevOps_Forwa FakeDotnetTestSdkResult result = await FakeDotnetTestSdk.RunAsync( testHost, - extraArguments: "--report-azdo", + extraArguments: "--report-azdo --report-azdo-groups on", environmentVariables: new Dictionary { ["TF_BUILD"] = "true" }, supportedProtocolVersions: HostAdvertisedProtocolVersions, cancellationToken: TestContext.CancellationToken); @@ -78,7 +78,7 @@ public async Task DotnetTestPipe_WhenSdkOnlySupports110_DoesNotForwardLogMessage // An older SDK that does not understand AzureDevOpsLogMessage advertises only up to 1.1.0. FakeDotnetTestSdkResult result = await FakeDotnetTestSdk.RunAsync( testHost, - extraArguments: "--report-azdo", + extraArguments: "--report-azdo --report-azdo-groups on", environmentVariables: new Dictionary { ["TF_BUILD"] = "true" }, supportedProtocolVersions: "1.0.0;1.1.0", cancellationToken: TestContext.CancellationToken); @@ -106,7 +106,7 @@ public async Task DotnetTestPipe_WhenNotRunningInAzureDevOps_DoesNotForwardLogMe // exercise. FakeDotnetTestSdkResult result = await FakeDotnetTestSdk.RunAsync( testHost, - extraArguments: "--report-azdo", + extraArguments: "--report-azdo --report-azdo-groups on", environmentVariables: new Dictionary { ["TF_BUILD"] = "false" }, supportedProtocolVersions: HostAdvertisedProtocolVersions, cancellationToken: TestContext.CancellationToken); diff --git a/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HelpInfoAllExtensionsTests.cs b/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HelpInfoAllExtensionsTests.cs index 798bc230f1..5cfd5f9bba 100644 --- a/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HelpInfoAllExtensionsTests.cs +++ b/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HelpInfoAllExtensionsTests.cs @@ -161,7 +161,7 @@ Demote failures with an Azure DevOps flaky history of at least 25% in the select --report-azdo-flaky-history Query Azure DevOps test result history for the past N days (1-90) and annotate reported failures with flakiness context. --report-azdo-groups - Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. + Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. --report-azdo-quarantine-file Path to a text file that lists quarantined test fully qualified names or glob patterns. Matching failures are reported as warnings. --report-azdo-severity @@ -488,7 +488,7 @@ Passing the option without a value turns it on. --report-azdo-groups Arity: 1 Hidden: False - Description: Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'on'. Requires '--report-azdo'. + Description: Enable or disable per-assembly Azure DevOps log groups ('on' or 'off'). Defaults to 'off'. Requires '--report-azdo'. --report-azdo-quarantine-file Arity: 1 Hidden: False diff --git a/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/AzureDevOpsLogGroupReporterTests.cs b/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/AzureDevOpsLogGroupReporterTests.cs index 4d7a87eed6..0ad9eb0b4f 100644 --- a/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/AzureDevOpsLogGroupReporterTests.cs +++ b/test/UnitTests/Microsoft.Testing.Extensions.UnitTests/AzureDevOpsLogGroupReporterTests.cs @@ -52,10 +52,10 @@ public async Task IsEnabledAsync_ReturnsFalse_WhenTfBuildNotSetAsync() } [TestMethod] - public async Task IsEnabledAsync_ReturnsTrue_WhenAzureDevOpsOptionSetAndTfBuildSetAsync() + public async Task IsEnabledAsync_ReturnsFalse_WhenGroupsNotSetAsync() { AzureDevOpsLogGroupReporter reporter = CreateReporter(enabled: true, tfBuild: true); - Assert.IsTrue(await reporter.IsEnabledAsync()); + Assert.IsFalse(await reporter.IsEnabledAsync()); } [TestMethod]