Book Image

ReSharper Essentials

By : Lukasz Gasior
Book Image

ReSharper Essentials

By: Lukasz Gasior

Overview of this book

Table of Contents (18 chapters)
ReSharper Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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