title: How can I generate HTML code coverage reports with new cabal?
body: <p>Running <code>stack test --coverage</code> generates a nice HTML report showing what lines your test suite covers. How can I achieve the same thing using <code>cabal new-test</code>?</p>
  
  <p>I'm able to pass <code>--enable-coverage</code> to generate a <code>.tix</code> file but I'm not sure what to run on the <code>.tix</code> file to generate the HTML report. I'm pretty sure it involves <code>hpc</code> but I haven't been able to work out the right command.</p>
  
  <p>I have the standard Cabal configuration of my application being a library, with a test-suite for that library. </p>