title: Running a single test file
body: <p>Is there a way to run <code>ng test</code> for a single file instead of for the entire test suite?  Ideally, I'd like to get the quickest possible feedback loop when I'm editing a file, but <code>karma</code> executes the whole suite on each save, which is a bit slow when you build up a big enough test suite.</p>
  
  <hr>
  
  <p>This is different from <a href="https://stackoverflow.com/questions/40683673/how-to-execute-only-one-test-spec-with-angular-cli">How to execute only one test spec with angular-cli</a> in that that question is about running an individual spec.  This is about running an individual file.  The solution involves the same Jasmine spec feature, but the nature of the question is slightly different.</p>