/usr/share/doc/nunit/html/runtimeSelection.html is in libnunit-doc 2.5.10.11092+dfsg-3.
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 | <!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<!-- Standard Head Part -->
<head>
<title>NUnit - RuntimeSelection</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-US">
<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">
<h3>Runtime Selection</h3>
<p>Before loading an assembly, NUnit must determine what runtime to use. By default
(see below for exceptions) the following rules are used:
<ol>
<li><p>If the assembly was built for the same runtime under which NUnit is currently
running, then that runtime is used.
<li><p>If the assembly was built for a different runtime version and that version
is available, NUnit uses it, running out of process if necessary.
<li><p>If the assembly was built for a different runtime version, which is not
available, then the result depends on whether the build version is earlier or
later than the current version. If earlier, the test will be run using the
same runtime version under which NUnit is running. If later, then it is not
possible to load the test and NUnit gives an error message.
<li><p>If multiple assemblies are being run at the same time, NUnit first
determines the runtime under which each assembly was built. The highest version
is then selected for the entire group, and rules 1 through 3 are applied.
</ol>
<p><b>Note:</b> For versions 2.5.4 and 2.5.5, automatic runtime selection only
works in the Gui runner. Use the /framework option to select the appropriate
runtime under the Console runner.
<h3>Overriding the Defaults</h3>
<p>The default runtime framework may be overridden using command line arguments,
menu items in the Gui or settings in an NUnit project file. Provided that the
requested framework is available, it will be used. If it isn't available,
NUnit will issue an error message.
<p><b>Note:</b> To use version 1.x runtimes, you must have NUnit's support
for those runtimes installed, in addition to the runtime itself. This
support is an option of the NUnit installation.
<h4>Command Line Options</h4>
<p>The <b>/framework</b> option of console runner allows you to specify
the framework type and version to be used for a test run. See
<a href="consoleCommandLine.html">NUnit-Console Command Line Options</a> for more information.
<h4>Gui Menu Selection</h4>
<p>The main menu provides <b>File | Select Runtime</b> sub-items allowing you
to reload the tests under a specific runtime. See
<a href="mainMenu.html">Main Menu</a> for more info.
<h4>Project Settings</h4>
<p>The NUnit project format supports specification of a specific runtime to
be used with a project at the configuration level. See
<a href="projectEditor.html">Project Editor</a> for more information.
</div>
<!-- Submenu -->
<div id="subnav">
<ul>
<li><a href="index.html">NUnit 2.5.10</a></li>
<ul>
<li><a href="getStarted.html">Getting Started</a></li>
<li><a href="assertions.html">Assertions</a></li>
<li><a href="constraintModel.html">Constraints</a></li>
<li><a href="attributes.html">Attributes</a></li>
<li><a href="runningTests.html">Running Tests</a></li>
<ul>
<li><a href="nunit-console.html">Console Runner</a></li>
<li><a href="nunit-gui.html">Gui Runner</a></li>
<li><a href="pnunit.html">PNUnit Runner</a></li>
<li><a href="nunit-agent.html">NUnit Agent</a></li>
<li id="current"><a href="runtimeSelection.html">Runtime Selection</a></li>
<li><a href="assemblyIsolation.html">Assembly Isolation</a></li>
<li><a href="configFiles.html">Configuration Files</a></li>
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
<li><a href="vsSupport.html">Visual Studio Support</a></li>
</ul>
<li><a href="extensibility.html">Extensibility</a></li>
<li><a href="releaseNotes.html">Release Notes</a></li>
<li><a href="samples.html">Samples</a></li>
<li><a href="license.html">License</a></li>
</ul>
</ul>
</div>
<!-- End of Submenu -->
<!-- Standard Footer for NUnit.org -->
<div id="footer">
Copyright © 2010 Charlie Poole. All Rights Reserved.
</div>
<!-- End of Footer -->
</body>
</html>
|