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

Customization of test --coverage options #664

Closed
mgsloan opened this issue Jul 23, 2015 · 3 comments
Closed

Customization of test --coverage options #664

mgsloan opened this issue Jul 23, 2015 · 3 comments
Assignees
Milestone

Comments

@mgsloan
Copy link
Contributor

mgsloan commented Jul 23, 2015

The fix to #634 makes test --coverage use a very sensible default. However, doesn't automate things for you if you want coverage reports that span multiple packages or include test-suite code.

One possibility would be to use the decisions from #652, and have a --hpc-options flag that specifies extra hpc options. This seems like a good thing to have in general, but TBH hpc's CLI is a bit unwieldy. So it may also be good to have some of the common patterns of usage wrapped up in some nice flags.

Another thing to consider here is the possibility of having a "unified" coverage report for your project - #579

@mgsloan mgsloan self-assigned this Jul 23, 2015
@mgsloan mgsloan added this to the 0.3.0.0 milestone Jul 23, 2015
@mgsloan
Copy link
Contributor Author

mgsloan commented Jul 23, 2015

It might be worthwhile to have a stack hpc command, which wraps the hpc program, providing it all the dirs it needs for .mix files. This would allow you to analyze .tix files that come from executable runs.

@mgsloan
Copy link
Contributor Author

mgsloan commented Aug 4, 2015

Note: in order to provide coverage reports for the test code itself, we'd need to implement a proper solution to #716.

Implementing this will also bring back #607.

@mgsloan
Copy link
Contributor Author

mgsloan commented Oct 20, 2015

Closing this out since most of the ideas here have been implemented, and the rest can go in more specific issues.

@mgsloan mgsloan closed this as completed Oct 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant