-
Notifications
You must be signed in to change notification settings - Fork 135
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
Slow unit tests #2472
Comments
Our project consists of a large number of relatively small .asmdefs, and so our unit tests are also spread out across a number of assemblies. It looks like the pauses are not between individual test methods or classes, but between assemblies. |
Hi! I think this was fixed on the Unity side at some point |
I tried changing "Interaction mode" in Unity settings to "No Throttling" but it didn't make any noticeable difference. Neither did keeping Unity editor in the foreground and focused. The tests still run tens or hundreds of times slower than when using the Unity test runner. Our setup: |
To keep this report in the loop, |
When we run our unit tests from within Rider, they take a very long time to complete. It appears that the individual tests are fast but there are long pauses between them, in the order of tens of seconds.
When we start the same set of unit tests from within the Unity editor, they finish nearly instantly.
When we run tests in our non-Unity projects from within Rider, they also run normally.
So the problem appears to be in how resharper-unity launches the tests.
The text was updated successfully, but these errors were encountered: