- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on output when projects contain more than 1000 unit tests #47
Labels
bug
Something isn't working
Comments
As a workaround, i am using --no-summary to prevent the output from crashing the test run. |
Any chance to get a repro? I'd rather not have to create 1k tests :/ |
You can use this code as a test class, it will run 1000 test cases. using System.Collections.Generic;
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: