Profile unit tests with dotTrace
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.
If you have dotUltimate license, you can profile performance of unit tests with JetBrains dotTrace .
When dotTrace is enabled, the Profile Unit Tests command appears together with Run Unit Tests Control / Debug Unit Tests Control commands. You can use this command to start profiling unit tests from the editor , from the Solution Explorer , or from unit tests sessions .
You can disable dotTrace by clearing the dotTrace checkbox on the page of ReSharper options (Alt+R, O ).
To learn more about profiling unit tests, see dotTrace help: How to profile unit tests .
Last modified: 21 June 2023