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

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 use the Ctrl + Alt + U shortcut

  • Unit Test Sessions: To open this window, navigate to RESHARPER | Windows | Unit Test Sessions from the Visual Studio menu or use the Ctrl + Alt + T shortcut

Additionally, for new windows, the ReSharper test runner is integrated with the Code Editor in Visual Studio. It adds a new icon for every class that contains unit tests as well as for each particular test method, as shown in the following screenshot:

The first icon allows you to quickly run or debug all the tests in a class, and the second one allows you to run or debug particular tests.

Depending on the other tools that are installed, ReSharper also allows you to use other options such as profiling tests with dotTrace or checking code coverage with dotCover.

By default, ReSharper v8...