diff --git a/NUnitOperation.cs b/NUnitOperation.cs index 85c56db..27816c4 100644 --- a/NUnitOperation.cs +++ b/NUnitOperation.cs @@ -81,7 +81,7 @@ public override async Task ExecuteAsync(IOperationExecutionContext context) this.LogDebug("Output file: " + outputFilePath); var args = this.IsNUnit3 - ? $"\"{testFilePath}\" --result:nunit2 --result:\"{outputFilePath}\"" + ? $"\"{testFilePath}\" --result:\"{outputFilePath}\";format=nunit2" : $"\"{testFilePath}\" /xml:\"{outputFilePath}\""; if (!string.IsNullOrEmpty(this.AdditionalArguments)) @@ -153,7 +153,7 @@ await this.ExecuteCommandLineAsync( } if (failures > 0) - this.LogError($"{0} test failures were reported."); + this.LogError($"{failures} test failures were reported."); } finally {