11

Is it possible to automatically run unit tests while you work without compiling or running them manually? I am aware that NDepend allows you to do so, but I would prefer to use the ReSharper suite.

2 Answers 2

17

This has been available since dotCover 10. See the dotCover documentation for details.

This adds a new panel "Continuous Testing Session" as well as a new status icon in the gutter.

Note that Visual Studio also has this feature, known as Live Unit Testing.


enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

PS. Also a Com Truise fan :)
+1 for the updates on the Resharper plugin. I'm glad there finally adding this. Also glad you're a fan too!
5

Not possible with Resharper at the moment, you will need something like NCrunch that runs your unit tests continuously in the background, highlighting code that breaks them as you write it and fails your tests.

Edit: At the time of my response it wasn't possible to do this with ReSharper but now in Version 10 it is, see Drew Noakes's answer. You could still give NCrunch a try as it continuously runs your tests in the background even without doing an explicit save.

2 Comments

Wow...I hope that jetbrains one day include it as a feature. It would be so useful. Also thanks for your help!
2018: (with only resharper & 2015) - is there still no solution ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.