 <p>We're using <strong><a href="https://www.nuget.org/packages/NUnitLite/" rel="nofollow noreferrer">NUnitLite</a></strong> to run <strong><a href="http://www.nunit.org/" rel="nofollow noreferrer">NUnit</a></strong> tests in our <strong>ASP.NET Core</strong> applications. My main issue was actually finding the documentation for this package, which is available at <strong><a href="https://github.com/nunit/docs/wiki/NUnitLite-Runner" rel="nofollow noreferrer">https://github.com/nunit/docs/wiki/NUnitLite-Runner</a></strong>.</p> <ol> <li>Create a console application project.</li> <li><p>The minimal <code>Main</code> method to run the tests could look like this:</p> <pre><code>using NUnitLite; public class Program { public int Main(string[] args) { return new AutoRun().Execute(args); } } </code></pre></li> <li><p>Create a command to start the project (i.e. the console application). In the example <code>project.json</code> file shown below the command <code>Test</code> will run all tests except those annotated with <code>[Category("SlowTest")]</code>.</p> <pre><code>{ "version": "1.0.0-*", "description": "Tests for the SelfServicePortal", "dependencies": { "SelfServicePortal": "1.0.0-*", "NSubstitute": "1.9.2", "NUnit.Runners": "3.0.1", "NUnitLite": "3.0.1", "NUnit.Console": "3.0.1", "Microsoft.Dnx.Runtime": "1.0.0-rc1-final" }, "commands": { "Test": "SelfServicePortal.Tests -where \"cat != SlowTest\"" }, "frameworks": { "dnx451": { } } } </code></pre></li> </ol> <p>Hope this helps. Here's a test run with some unnecessary censoring:</p> <p><a href="https://i.stack.imgur.com/yeEI7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yeEI7.png" alt="Sample test run with unnecessary censoring"></a></p>