title: Angular CLI create .spec files for already existing components
body: <p>There is an option in <code>.angular-cli.json</code> to disable the automatic creating of <code>*.spec</code> files e.g. for components, see <a href="https://github.com/angular/angular-cli/blob/398356503ab4729cf40587804c44b55eb5c99768/packages/%40angular/cli/lib/config/schema.json#L318-L353" rel="noreferrer">json schema</a>.</p>
  
  <p>This is a really nice feature because personally (this is just my opinion) testing the components might not be the thing that really worth it in a fast growing project. </p>
  
  <p>However sometimes I would like to have an option to generate / recreate the corresponding <code>*.spec</code> file for an already existing component / service / pipe / whatsoever.</p>
  
  <p>Is that possible using some command line call?</p>
  
  <p>Created a <a href="https://github.com/angular/angular-cli/issues/7727" rel="noreferrer">feature request</a>, let's see how it goes...</p>