Expecto: log individual test statuses

88 Views Asked by At

I've got a test that occasionally flakes and crashes my test process. However, I can't figure out which test is causing the failure. The only output I get is

Console output

How can I get test results to log as they happen so I can find the failing test?

1

There are 1 best solutions below

1
On BEST ANSWER

Turns out this is more a dotnet cli question, since I'm running tests via dotnet test and the YoloDev.Expecto.TestSdk adapter.

The answer is to add a simple logger argument

dotnet test -l "console;verbosity=detailed"