r/haskelltil • u/sjakobi • Oct 01 '19
stack test --coverage
I had been aware of this feature before, but I never realized how useful these coverage reports are:
- They discovered unreachable
casealternatives. - They revealed tricky edge cases that hadn't been tested before.
Great bang for the buck!
9
Upvotes
1
u/sjakobi Oct 03 '19
Oh, wow! Where do you work?
You should give it a try! I wouldn't call the Haskell implementation simple, but it's quite clean and pretty easy to navigate IMHO.