title: How can I run .NET Core unit tests in Bamboo?
body: <p>We have a .NET Core 2.1 unit test project, which contains a battery of NUnit tests. We are using NUnit 3.10.1.</p>
  
  <p>Unfortunately, NUnit Console does not yet support .NET Core projects. So the only way to run tests in Bamboo is to use the <code>dotnet test</code> command:</p>
  
  <pre><code>dotnet test --logger "trx;LogFileName=testresults.trx"
  </code></pre>
  
  <p>So I tried doing that by running it as a command in the Bamboo build, and it does indeed run, but when it fails, it just says that the step failed, without specifying which tests caused it to fail.</p>
  
  <p>I created a step to parse the test result file, but the build fails before reaching this step. So how should I set this up so that I can see the test results?</p>
  
  <p>I've asked this question over on the community page at <a href="https://community.atlassian.com/t5/Bamboo-questions/How-to-run-NUnit-tests-for-a-NET-Core-project/qaq-p/761638" rel="nofollow noreferrer">Atlassian</a>, but I didn't get any useful responses.</p>