title: How to run all tests in Visual Studio Code
body: <p>The latest version of VS Code already provides an easy way of running a single test as pointed on <a href="https://stackoverflow.com/a/38372628/1140754">Tyler Long's answer</a> to the question <a href="https://stackoverflow.com/q/38146011/1140754">Debugging xunit tests in .NET Core and Visual Studio Code</a>.</p>
  <p>However, I am looking how can I run <strong>all tests</strong> contained in a test suite class in VS Code (without debug)?</p>
  <p>The only way I found was adding to <code>launch.json</code> a specific configuration as the following one, but which I can only run in debug (I would like to run it without debug):</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;name&quot;: &quot;.NET Core Xunit tests&quot;,
    &quot;type&quot;: &quot;coreclr&quot;,
    &quot;request&quot;: &quot;launch&quot;,
    &quot;preLaunchTask&quot;: &quot;build&quot;,
    &quot;program&quot;: &quot;/usr/local/share/dotnet/dotnet&quot;,
    &quot;args&quot;: [&quot;test&quot;],
    &quot;cwd&quot;: &quot;${workspaceRoot}/test/MyProject.Tests&quot;,
    &quot;externalConsole&quot;: false,
    &quot;stopAtEntry&quot;: false,
    &quot;internalConsoleOptions&quot;: &quot;openOnSessionStart&quot;
  }
  </code></pre>