Skip to content
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

Open
maledoux opened this issue Nov 1, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@maledoux
Copy link

maledoux commented Nov 1, 2024

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 maledoux added the bug Something isn't working label Nov 1, 2024
@maledoux
Copy link
Author

maledoux commented Nov 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant