Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The NUnit test runner actually integrates directly into the existing Visual Studio test runner (Test Explorer) (From the menu: <kbd>Test</kbd>-><kbd>Windows</kbd>-><kbd>Test Explorer</kbd>). As such, it doesn't show up anywhere. Just add NUnit tests to your project and they will now magically show up in the Test Explorer and run when you hit the <kbd>></kbd> button.</p> <p>Instead of the NuGet package, you'll need to use the test runner from the <a href="http://visualstudiogallery.msdn.microsoft.com/6ab922d0-21c0-4f06-ab5f-4ecd1fe7175d" rel="nofollow noreferrer">Visual Studio Gallery</a> or from the <kbd>Tools</kbd> -> <kbd>Extensions and Updates</kbd> menu. The reason for this is that the Test Runner installs into Visual Studio (as opposed to installs into your project).</p> <p>As @Jan mentions, there is now a <code>NUnit.Runners</code> package which you can also add to your solution. This should add the NUnit runner for commandline builds, but this does not register the NUnit VisualStudio test runner to Visual Studio. The NUnit Runners allow you to run your tests from the command line (msbuild). You can also accomplish this by running your tests using the <code>vstest.console.exe</code> which can be found in the Visual Studio directory: <code>C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow</code>.</p> <h2>Update</h2> <p>With an update to Visual Studio 2013, Microsoft has enabled test runners to be attached as <a href="https://www.nuget.org/packages/NUnitTestAdapter/" rel="nofollow noreferrer">NuGet packages to a project</a>. That way they're automatically kept in sync with your project and can be set to update automatically. There is also no requirement to install the test runner on your build server.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload