Chapter 6. Unit Testing

ReSharper comes with a very user-friendly test runner which, by default, supports tests written with NUnit and MSTest as well as tests written for JavaScript.

As with any ReSharper feature, support for unit tests looks the same in all supported Visual Studio versions. Thanks to this, you can easily run NUnit and JavaScript unit tests in Visual Studio versions that only support MSTest.

In this chapter, we will cover the following topics:

  • Test runner
  • Testing JavaScript
  • Analyzing code coverage with dotCover

Test runner

ReSharper provides you with the following two new windows that allow you to work with unit tests:

  • Unit Test Explorer: To open this window, navigate to RESHARPER | Windows | Unit Tests from the Visual Studio menu or ...

Get ReSharper Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.