Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Test runs are extremely slow (especially the build) #508

Unanswered
hrabatom asked this question in Q&A
Discussion options

After installation the C# unit test run is very slow. If I change the test code and re-run the test, it takes about 50 seconds until it's completed. The majority of time is taken by the build. When I disabled the extension, the total time for the same test after same change, takes 20 seconds only and the build is really fast. Is there a way how to speed it up?

You must be logged in to vote

Replies: 4 comments 5 replies

Comment options

Can you provide details on your test framework and if you have set RunMsCodeCoverage Yes.

You must be logged in to vote
1 reply
Comment options

I use the XUnit. RunMsCodeCoverage is set "No"

Comment options

Is this XUnit with Testing Platform ? Do you get the same slowness with RunMsCodeCoverage Yes ?

You must be logged in to vote
1 reply
Comment options

Looks much faster with RunMsCodeCoverage = Yes, but there is no coverage reported.

Comment options

The RunMsCodeCoverage setting should not affect the build.

When you say much faster are you referring to the time that FCC displays coverage ? That is dependent upon RunMsCodeCoverage. When Yes coverage is collected as your tests run when No FCC will wait untill the tests run complete before running the tests again.

You must be logged in to vote
3 replies
Comment options

If there is no coverage reported can you show the FCC Output Window Pane logs.

Comment options

The time I wrote, it FCC Output was completely empty. But today all started to work, the coverage is nicely visible. Just after running test the VS becomes not responding for a minute. Hard to say whether that's caused by the FCC. Anyway thanks for the suggestion to set RunMsCodeCoverage to Yes. I will try to work with that and than again to deactivate to see, if the performance and the responsiveness of the VS could be somehow affected by the FCC.

Comment options

When you are saying vs becomes not responding do you mean that it will not accept your key strokes ?

See this issue - perhaps setting the options mentioned will help
#470

Is this a large project ? Is the problem reproducable in other projects ?

Comment options

You can also check the test explorer output window pane.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /