/a></li>
        </ul>
    </div><!--/.nav-collapse -->
    </div>
</nav>

  <div class="container">
    <div class="content help">
      <div class="notice">Legacy Documentation. View <a href="https://docs.nunit.org">NUnit 3 Documentation</a></div>
      <div id="help_content">

<h2>TestContext (NUnit 2.5.7 / 2.6)</h2>

<p>Each NUnit test runs in an execution context, which includes information about the environment as well as the test itself.
The <b>TestContext</b> class allows tests to access certain inf