title: Profiling tests in Visual Studio Community 2015
body: <p>Posts on the web suggest that you can profile tests in Visual Studio by right-clicking and selecting "Profile Test": <a href="http://adamprescott.net/2012/12/12/performance-profiling-for-unit-tests/">http://adamprescott.net/2012/12/12/performance-profiling-for-unit-tests/</a>  But I only see "Run Test" and "Debug Test" for my NUnit tests, and the same for xUnit.NET.  What am I missing in order to profile tests?  Is this just not supported in Community edition, or I am missing some configuration or component?</p>
  
  <p>(It would seem odd if it's not supported in Community, given I can profile executables in Community, and thus could painfully work around this issue by creating an executable that runs the test, and profile that.  Why support profiling executables but not profiling tests?)</p>
  
  <p>Steps to reproduce for NUnit: created new C# library project in Visual Studio Community 2015, pasted content of <a href="http://nunit.org/index.php?p=quickStartSource&amp;r=2.6.4">http://nunit.org/index.php?p=quickStartSource&amp;r=2.6.4</a> into new file, installed NuGet packages as follows:</p>
  
  <pre><code>&lt;packages&gt;
    &lt;package id="NUnit" version="2.6.4" targetFramework="net452" /&gt;
    &lt;package id="NUnit.Runners" version="2.6.4" targetFramework="net452" /&gt;
    &lt;package id="NUnitTestAdapter" version="2.0.0" targetFramework="net452" /&gt;
  &lt;/packages&gt;
  </code></pre>
  
  <p>Even restarted Visual Studio.  Tests show up in Test Explorer and can be run, but no "Profile Test" option available on right-click menu.  Also tried equivalent steps for xUnit.net, but no joy.</p>