Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test --coverage option #215

Open
erikd opened this issue Apr 10, 2018 · 0 comments
Open

Add a test --coverage option #215

erikd opened this issue Apr 10, 2018 · 0 comments
Assignees
Labels

Comments

@erikd
Copy link
Contributor

erikd commented Apr 10, 2018

The stack tool has an option so you can run stack test --coverage and it will build the tests and run them collecting test coverage information and at the end report the path the a HTML file with results.

I haven't looked yet, but I do not think stack is doing anything more complicated than calling HPC (the Haskell Program Coverage tool).

Would be nice to get this working for mafia even if there is a change for this to be used for evil instead of good.

I'll have a crack at this on the weekend.

@erikd erikd added the wishlist label Apr 10, 2018
@erikd erikd self-assigned this Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant