WebStorm run all dart unit tests
<p>In WebStorm 11 I want to create a run configuration which runs all dart tests in my project. </p>

<p>However there is no option to do this in the "Dart Test" configuration template. The only options are:</p>

<ul>
<li>Test Kind: All in file, Test group, single test</li>
<li>Test file: must point to a .dart file, otherwise I get "Dart file is not found"</li>
<li>VM Options (text input)</li>
</ul>

<p>If I point WebStorm to a single test file this command gets executed in the test window:</p>

<pre><code>C:\path\to\dart\bin\dart.exe --ignore-unrecognized-flags --checked --trace_service_pause_events file:\\\C:\path\to\dart\bin\snapshots\pub.dart.snapshot run test:test -r json C:/path/to/project/test/someclass_test.dart
</code></pre>

<p>I don't want to create a run configuration for every unit test class I write, there must be a better way.</p>

<p>Currently I prefer to navigate to the project directory and just run</p>

<pre><code>pub run test:test
</code></pre>

<p>This runs all tests which live in files ending with _test.dart which is perfectly what I want. More info here: <a href="https://github.com/dart-lang/test#running-tests" rel="nofollow">https://github.com/dart-lang/test#running-tests</a></p>

<p>Is there no such option in WebStorm for dart developers?</p>