Fix integration test output (#17682)

* Change output

* Fix teardown output
This commit is contained in:
Mole
2024-12-04 09:57:02 +01:00
committed by GitHub
parent 2f2da4854a
commit 8ea0267ebc

View File

@@ -51,11 +51,11 @@ public abstract class UmbracoIntegrationTestBase
[SetUp]
public void SetUp_Logging() =>
TestContext.Progress.Write($"Start test {s_testCount++}: {TestContext.CurrentContext.Test.Name}");
TestContext.Out.Write($"Start test {s_testCount++}: {TestContext.CurrentContext.Test.Name}");
[TearDown]
public void TearDown_Logging() =>
TestContext.Progress.Write($" {TestContext.CurrentContext.Result.Outcome.Status}");
TestContext.Out.Write($" {TestContext.CurrentContext.Result.Outcome.Status}");
[OneTimeTearDown]
public void FixtureTearDown()