To profile tests from the editor
- Select a test class declaration or an individual test to be profiled.
- Click the corresponding side bar mark in the gutter.
In the context menu, choose
Profile with dotTrace:
To profile tests from the Unit Test Sessions window
Unit Test Sessionswindow by choosing ReSharper | Windows | Unit Test Sessionson the main menu or clicking Ctrl+Alt+R. If you haven't yet arranged a testing session, see Running and Debugging Unit Tests for guidelines.
Select a node in the tree view of the
Unit Test Sessionswindow, and click Profile Selected Testsin the toolbar.