title: .NET Core 1.0 - How to run "All tests in Solution" with xUnit command line
body: <p>The <em><a href="https://xunit.github.io/docs/getting-started-dotnet-core.html" rel="noreferrer">Getting started with xUnit.net (.NET Core / ASP.NET Core)</a></em> page describes how to run tests with <code>dotnet test</code> command line. </p>
  
  <p>It states that it requires a specific <em>project.json</em>, where we add xunit dependencies and test runner:</p>
  
  <pre><code>  "testRunner": "xunit",
      "dependencies": {
          "xunit": "2.1.0",
          "dotnet-test-xunit": "1.0.0-rc2-build10015"
      }
  </code></pre>
  
  <p>If I try calling it from the parent directory:</p>
  
  <pre><code>C:\git\Project\test [master ≡]&gt; dotnet test
  dotnet-test Error: 0 : System.InvalidOperationException: C:\git\Project\test\project.json does not exist.
     at Microsoft.DotNet.Tools.Test.TestCommand.GetProjectPath(String projectPath)
     at Microsoft.DotNet.Tools.Test.TestCommand.DoRun(String[] args)
  C:\git\Project\test [master ≡]&gt;
  </code></pre>
  
  <p>Question: Is there a way to run all tests (multiple <em>project.json</em>) with a single <code>dotnet test</code>?</p>