This file is indexed.

/usr/share/doc/nunit/html/vsTestAdapter.html is in libnunit-doc 2.6.4+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<!-- Standard Head Part -->
<head>
<title>NUnit - VsTestAdapter</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-US">
<meta name="norton-safeweb-site-verification" content="tb6xj01p4hgo5x-8wscsmq633y11-e6nhk-bnb5d987bseanyp6p0uew-pec8j963qlzj32k5x9h3r2q7wh-vmy8bbhek5lnpp5w4p8hocouuq39e09jrkihdtaeknua" />
<link rel="stylesheet" type="text/css" href="nunit.css">
<link rel="shortcut icon" href="favicon.ico">
</head>
<!-- End Standard Head Part -->

<body>

<!-- Standard Header for NUnit.org -->
<div id="header">
  <a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
  <div id="nav">
    <a href="http://www.nunit.org">NUnit</a>
    <a class="active" href="index.html">Documentation</a>
  </div>
</div>
<!-- End of Header -->

<div id="content">

<h2>NUnit Test Adapter for Visual Studio</h2>

<p>The NUnit Test Adapter allows you to run NUnit tests inside Visual Studio. The current release, version 1.2, is designed to work with Studio 2012 (All updates), and with Visual Studio 2013 (All updates including Update 3 checked September 2014). Some features are not available under VS2012 RTM.</p>

<p>Note that Releases of Visual Studio prior to VS 2012 did not have the ability to directly run tests built with Open Source testing frameworks like NUnit.</p>

<h2>Installation</h2>

<p>Beginning with version 0.95 there are two ways of installing the adapter within Visual Studio. See Note 1 below for info on how to choose.</p>

<ol>
<li>Use the Extension Manager</li>
<li>Add it as a Nuget package to your solution. (New in 0.95, requires VS 2012 Update 1 or higher)</li>
</ol>

<h3>Installing With the Extension Manager</h3>

<p>To install the NUnit Test Adapter using the Extension Manager, follow these steps:</p>

<ol>
<li>From within Visual Studio 2012 or 2013, select Tools | Extension Manager.</li>
<li>In the left panel of the Extension Manager, select Online Extensions.</li>
<li>Locate (search for) the NUnit Test Adapter in the center panel and highlight it.</li>
<li>Click 'Download' and follow the instructions.</li>
</ol>

<p>Use the Extension Manager to ensure that the NUnit Test Adapter is enabled.</p>

<h3>Installing the Nuget Package</h3>

<p>To add it is a Nuget package, you must have an active solution, then follow these steps:</p>

<ol>
<li>From Tools menu, use Library Package Manager, select Manage NuGet packages for solution</li>
<li>In the left panel, select Online</li>
<li>Locate (search for) NUnit Test Adapter in the center panel and highlight it</li>
<li>You will find two packages, one without framework and one with framework. See note 2 below for which to choose.</li>
<li>Click 'Install'</li>
<li>In the "Select Projects" dialog, you need to select at least one project to add the adapter to, see notes below.</li>
</ol>

<h3>Notes</h3>

<p><strong>Note 1: How to choose between Extension and NuGet package</strong></p>

<p>The Extension will apply to Visual Studio itself, and will work for all projects you use. All users of your solution need to install the Extension. If you use TFS Build you must also install the extension to the build system there.
The Package will apply to the solution, and will work for any other user too, as it follows the solution, but requires the user to have Update 1 or above. It will also work for any TFS2012 Update 1 or above server build, including TF Service and requires no further installation.</p>

<p><strong>Note 2: Choosing NuGet package</strong></p>

<p>The adapter packages come with and without the NUnit framework. If you have only one test project you can choose the one with framework, that saves you from having to install both the NUnit package and the Adapter package. If you have multiple test projects you need to install the NUnit framework for all of these, but only one of these need the adapter, then choose the adapter package without framework. Installing the adapter for multiple projects will do no harm.</p>

<p><strong>Note 3: Choosing both</strong>
This will work, but the Nuget package will be ignored. Since this can be confusing, we don't advise it.</p>

<h2>Usage</h2>

<p>In preparation for using the test adapter, make sure that the Unit Test Explorer is shown in your window. If you don't see it, use the menu ( Test | Windows | Test Explorer ) to show it and position the window where you would like it within Visual Studio.

<div class="screenshot-left">
   <img src="img/nunitTestAdapter.png"></div>

<p>When you initially open a solution, no tests will be displayed. After compiling the assemblies in the solution, Visual Studio will interact with the NUnit Test Adapter to discover tests and a list of them will be shown in the Test Explorer.</p>

<p>Click on Run All in the Test Explorer to run all the tests. You may also select one or more tests in the list and run them by right-clicking and using the context menu. The context menu also contains entries for debugging tests and for navigating to the source code of a test.</p>

<p>Tests may be grouped by Duration and Outcome under VS2012 RTM and also by Traits and Project using Update 1, and Class using Update 2.  NUnit translates any Categories and Properties used on your tests to Visual Studio as Traits.</p>

<p>Tests may be filtered in Visual Studio under Update 1 by Trait, Project, Error Message, File Path, Fully Qualified Name, Output and Outcome. Use the search edit box at the top of the list of tests to specify a filter.</p>

<p>Tests may be organized by play lists in Visual Studio under Update 2. Playlists are more or less equal to the old test lists from VS 2010.</p>

<p>Parameterized tests will show up as separate test cases for each set of parameters.</p>

<h2>Known Problems</h2>

<ol>
<li>There is no test status in Visual Studio corresponding to NUnit's Inconclusive result, so tests with this result are reported as Not Run. Click on the individual test to see the result.</li>
<li>Grouping by fixture is not yet available.in Visual Studio.</li>
<li>Theories are reported as individual cases, rather as a single unit.</li>
<li>Startup performance is substantially improved but is still slower than using NUnit directly.</li>
<li>A VSIX adapter of older version will be used regardless of version of NuGet adapter.</li>
</ol>

<p>Workaround: Make sure you have upgraded VSIX adapter to latest version, or uninstalled it if you have the NuGet adapter in a solution. The 0.95 and later versions will output their version number in the Output window under Tests, any older versions will not display a version number.</p>

<h2>Issues with other tools</h2>

<ol>
<li>Versions of Resharper earlier than the 8.2 version has an issue with the NuGet adapter, which will prevent NUnit tests from running. Make sure you have updated Reshaper to at version 8.2. </li>
</ol>

<h2>Further information</h2>

<p>For more information see the blogs by <a href="http://nunit.com/blogs/" title="Charlie Poole">Charlie Poole</a> and <a href="http://geekswithblogs.net/terje/Default.aspx">Terje Sandstrom</a> 
Also see the following MSDN ALM blog post:</p>

<p><a href="http://blogs.msdn.com/b/visualstudioalm/archive/2013/06/11/part-3-unit-testing-with-traits-and-code-coverage-in-visual-studio-2012-using-the-tfs-build-and-the-new-nuget-adapter-approach.aspx">Part 3: Unit testing with Traits and code coverage in Visual Studio 2012 using the TFS Build – and the new NuGet adapter approach</a></p>

<p><a href="http://blogs.msdn.com/b/visualstudioalm/archive/2012/11/20/part-2-using-traits-with-different-test-frameworks-in-the-unit-test-explorer.aspx">Part 2–Using Traits with different test frameworks in the Unit Test Explorer</a></p>

<p><a href="http://blogs.msdn.com/b/visualstudioalm/archive/2012/11/09/how-to-manage-unit-tests-in-visual-studio-2012-update-1-part-1-using-traits-in-the-unit-test-explorer.aspx">How to manage unit tests in Visual Studio 2012 Update 1 : Part 1–Using Traits in the Unit Test Explorer</a></p>

<h2>Reporting Problems</h2>

<p>Bugs should be reported using the <a href="https://github.com/nunit/nunit-vs-adapter/issues">issue tracker</a> on Github, </p>


</div>

<!-- Submenu -->
<div id="subnav">
<ul>
<li><a href="index.html">NUnit 2.6.4</a></li>
<ul>
<li><a href="getStarted.html">Getting&nbsp;Started</a></li>
<li><a href="writingTests.html">Writing&nbsp;Tests</a></li>
<li><a href="runningTests.html">Running&nbsp;Tests</a></li>
<li><a href="extensibility.html">Extensibility</a></li>
<li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
<li><a href="samples.html">Samples</a></li>
<li><a href="license.html">License</a></li>
</ul>
<li id="current"><a href="vsTestAdapter.html">NUnit&nbsp;Test&nbsp;Adapter</a></li>
<ul>
<li><a href="vsTestAdapterLicense.html">License</a></li>
<li><a href="vsTestAdapterReleaseNotes.html">Release&nbsp;Notes</a></li>
</ul>
<li><a href="&r=2.6.4.html"></a></li>
<li><a href="&r=2.6.4.html"></a></li>
</ul>
</div>
<!-- End of Submenu -->


<!-- Standard Footer for NUnit.org -->
<!-- public_html/nunit/footer.php -->
<div id="footer">
  Copyright &copy; 2002-2014 NUnit.org. All Rights Reserved.
</div>
<!-- End of Footer -->
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?skin=desert"></script>
</body>
</html>