devlooped / dotnet-retest

MIT License
6 stars 1 forks source link

Error on output when projects contain more than 1000 unit tests #47

Open maledoux opened 1 month ago

maledoux commented 1 month ago

Describe the Bug

I am using dotnet retest on a project containing 4000 unit tests, if i leave the default values so that it outputs to console, I get the following error at the 1000th test:

Error: Object reference not set to an instance of an object.

Then the output stops.

Steps to Reproduce

A .csproj containing more than 1000 unit tests (using mstest).

Expected Behavior

Output should complete lie it does for smaller projects. When I run a smaller project with 300 unit tests i get: 👉 Run 300 tests in ~ 272 milliseconds ✅ ✅ 300 passed

Exception with Stack Trace

Error: Object reference not set to an instance of an object.

Version Info

0.6.3

Additional Info

Back this issue Back this issue

maledoux commented 1 month ago

As a workaround, i am using --no-summary to prevent the output from crashing the test run.