ReSharper's unit test runner does not allow running two or more tests with the same ID. This rarely happens in practice, but if you do have tests with the same ID, they will appear as a single node in the Unit Tests explorer and Unit Test Sessions window, and only one of them will run. Note that test frameworks identify tests in different ways. For example, MSTest uses test-methods FQNs but NUnit uses properties of test attributes as test IDs.
ReSharper helps discover and run or debug unit tests right in Visual Studio. The following unit testing frameworks are supported:
NUnit — ReSharper installation includes 2 bundled test runners that support versions up to 2.6.4 and up to 3.11.1 correspondingly.
Custom test frameworks that use Visual Studio test adapter extensibility. To enable VSTest adapters support, select the corresponding checkbox on the Tools | Unit Testing | Test Frameworks | VSTest page of ReSharper options(Alt+R, O).
With ReSharper, you can execute a single unit test, all tests in a test class, file, project or solution. You can also execute any number of tests combined in a test session.
Unit testing assistance can be extended with other JetBrains .NET products: you can profile unit tests with dotTrace and analyze code coverage of unit tests with dotCover. These products are included in the dotUltimate license.
You can disable unit testing assistance features by clearing the Unit Testing checkbox on the Environment | Products & Features page of ReSharper options(Alt+R, O).
This feature is supported in the following languages and technologies:
The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by Language section.