xUnit.net tests support

As we described in Chapter 6, Unit Testing, ReSharper contains a very good unit test runner. By default, it supports NUnit and MSTest.

If you are a fan of the xUnit library, you can also use the ReSharper test runner by installing the xUnit.net Contrib plugin.

It allows ReSharper to discover xUnit.net tests and adds a couple of external annotations, which extend the code analysis made by ReSharper.

It also provides very useful live templates, which speed up the writing of the tests.

More information about this plugin can be found at http://resharper-plugins.jetbrains.com/packages/xunitcontrib/ and http://xunitcontrib.codeplex.com, where you will find the available live templates.

Get ReSharper Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.