You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicclassTests{[Before(TestSession)]publicstaticasyncTaskBeforeTestSession(){Console.WriteLine($"BeforeTestSession started at {DateTime.Now}");awaitTask.Delay(TimeSpan.FromSeconds(5));Console.WriteLine($"BeforeTestSession ended at {DateTime.Now}");}[Before(Assembly)]publicstaticasyncTaskBeforeAssembly(){Console.WriteLine($"BeforeAssembly started at {DateTime.Now}");awaitTask.Delay(TimeSpan.FromSeconds(5));Console.WriteLine($"BeforeAssembly ended at {DateTime.Now}");}[Test]publicvoidTest1(){Console.WriteLine($"Executing Test at {DateTime.Now}");}}
If you just do a dotnet run on the CLI, you'll have to be quick, but when it starts to show "BeforeAssembly started", you'll see it render really quickly, but then it'll be removed and overwritten by the rendering of the [✓0/x0/↓0] ConsoleApp5.dll (net9.0|x64).
I guess this is related to the new interactive output and showing running tests etc. But overwriting user output means they may lose visibility of important information.
The text was updated successfully, but these errors were encountered:
Using TUnit, I created this simple test suite:
If you just do a
dotnet run
on the CLI, you'll have to be quick, but when it starts to show "BeforeAssembly started", you'll see it render really quickly, but then it'll be removed and overwritten by the rendering of the[✓0/x0/↓0] ConsoleApp5.dll (net9.0|x64)
.I guess this is related to the new interactive output and showing running tests etc. But overwriting user output means they may lose visibility of important information.
The text was updated successfully, but these errors were encountered: