title: Run NUnit tests in .NET Core
body: <p>I am trying to run unit tests for my C# project with .NET Core.
  I am using a <a href="https://en.wikipedia.org/wiki/Docker_%28software%29" rel="nofollow noreferrer">Docker</a> container for the runtime.</p>
  
  <p>Dockerfile</p>
  
  <pre><code>FROM microsoft/dotnet:0.0.1-alpha
  RUN mkdir /src
  WORKDIR /src
  ADD . /src
  RUN dotnet restore
  </code></pre>
  
  <p>"NUnit" and "NUnit.Runners" have been added into project.json</p>
  
  <pre><code>"version": "1.0.0-*",
  "compilationOptions": {
      "emitEntryPoint": true
  },
  
  "dependencies": {
      "NETStandard.Library": "1.0.0-rc2-23811",
      "NUnit": "3.2.0",
      "NUnit.Runners": "3.2.0"
  },
  "frameworks": {
      "dnxcore50": { }
  }
  </code></pre>
  
  <p>Run <code>dotnet restore</code> successfully with the following output</p>
  
  <pre><code>...
  log  : Installing NUnit.ConsoleRunner 3.2.0.
  log  : Installing NUnit.Extension.NUnitV2ResultWriter 3.2.0.
  log  : Installing NUnit.Extension.NUnitV2Driver 3.2.0.
  log  : Installing NUnit.Extension.VSProjectLoader 3.2.0.
  log  : Installing NUnit.Extension.NUnitProjectLoader 3.2.0.
  log  : Installing NUnit.Runners 3.2.0.
  info : Committing restore...
  log  : Restore completed in 4352ms.
  </code></pre>
  
  <p>I tried to run the tests with:</p>
  
  <p><code>dotnet nunit</code></p>
  
  <p><code>dotnet nunit-console</code></p>
  
  <p>But it doesn't work.</p>
  
  <p>How am I going to call the runner? Or is there another unit testing framework that works with the current version of .NET Core?</p>