title: Profile unit test in Visual Studio 2017 + NUnit + Resharper
body: <p>I have a C# project in Visual Studio 2017 Professional.  It has some unit tests: methods declared with <code>[Test]</code> which display a little green tick icon in the editor, where I can right-click and 'Run' or 'Debug' the test.  When I do so, a window opens with all tests in the solution and I can click a green 'play' triangle to run them all.</p>
  
  <p>I can also run my program under the profiler starting from Debug -> Performance Profiler.</p>
  
  <p>So far so good.  Now, how do I run a unit test under the profiler?</p>
  
  <p>When I first asked this question I looked for profiling unit tests and saw it was a feature in Visual Studio Professional.  But in fact, I'm not using VS's own unit testing support, but rather NUnit, driven by Resharper.  Sorry to throw everyone off the scent.</p>