florence / cover

a code coverage tool for racket
MIT License
38 stars 7 forks source link

Allow multiple submodules to be run by specifying `-s` several times #110

Closed SuzanneSoy closed 8 years ago

SuzanneSoy commented 8 years ago

My main use case for this change is for scribble/lp2 literate programs, to cover both the test submodule and the document itself (otherwise, all the text is marked as uncovered), like so:

raco cover -s test -s doc program.lp2.rkt

Previously I used to write (require (submod ".." doc)) inside the test submodule, but a recent change in scribble/lp2 makes this impossible.

florence commented 8 years ago

Merged. Thanks!