Skip to content

Troubleshooting slow unit test runs #4466

Answered by OsirisTerje
ThomasSchmidt asked this question in Q&A
Discussion options

You must be logged in to vote

If the number of tests are >2000 you're hitting the default setting AssemblySelectLimit, which is at 2000. See https://docs.nunit.org/articles/vs-test-adapter/Tips-And-Tricks.html#assemblyselectlimit which also explains the side effects of this setting, which is that the category setting is skipped (in VS).
I suggest you raise this limit in your case.
Another tip: Set the NUnit.Verborsity to 5. You will then see all the settings for the adapter listed, including the ASL, and others that might be interesting.

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@OsirisTerje
Comment options

@ThomasSchmidt
Comment options

@ThomasSchmidt
Comment options

@OsirisTerje
Comment options

Answer selected by ThomasSchmidt
@lahma
Comment options

@ThomasSchmidt
Comment options

@OsirisTerje
Comment options

@manfred-brands
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants