Open patrickt opened 5 years ago
I tried this by setting coverage: True
inside cabal.project.local, only to get this error at runtime:
/Users/patrickt/src/semantic/dist-newstyle/build/x86_64-osx/ghc-8.6.4/semantic-0.6.0.0/t/test/noopt/test/semantic-0.6.0.0-test.log
hpc: can not find semantic-0.6.0.0-inplace/Prologue in ./.hpc, ./dist-newstyle/build/x86_64-osx/ghc-8.6.4/semantic-0.6.0.0/t/test/noopt/hpc/vanilla/mix/semantic-0.6.0.0, ./dist-newstyle/build/x86_64-osx/ghc-8.6.4/semantic-0.6.0.0/t/test/noopt/hpc/vanilla/mix/test
CallStack (from HasCallStack):
error, called at libraries/hpc/Trace/Hpc/Mix.hs:122:15 in hpc-0.6.0.3:Trace.Hpc.Mix
We should have one of those fancy little badges that shows code coverage. (It will not be a particularly high number at this point, but that’s fine. Self-love, etc.)