To profile tests from the editor
  1. Select a test class declaration or an individual test to be profiled.
  2. Click the corresponding side bar mark in the gutter.
  3. In the context menu, choose Profile with dotTrace:

    Image 1:
To profile tests from the Unit Test Sessions window
  1. Open the Unit Test Sessions window by choosing ReSharper | Windows | Unit Test Sessions on 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.
  2. Select a node in the tree view of the Unit Test Sessions window, and click Profile Selected Tests Profile
    Image 2: in the toolbar.