git clone 'git://github.com/sviridov/undercover.el.git'
A test coverage library for Emacs Lisp.
undercover.el is on earlier stage of development and has some important issues:
edebugand can have some issues with macros coverage.
undercover.elto your Cask file:
```lisp (source gnu) (source melpa)
(development (depends-on “undercover”)) ```
requireyour package in
features/support/env.el(or analogue), call
undercoverwith wildcards that will match package files:
```lisp (require 'undercover)
(undercover “.el“ ”awesome-extensions/.el” (:exclude “*-test.el”)) (require 'awesome-package) ```
COVERALLS_REPO_TOKENenvironment variable before running tests, for example:
$ COVERALLS_REPO_TOKEN=<your-coveralls-repo-token> cask exec ert-runner
report-fileoption if you want to change report location:
(undercover "*.el" (:report-file "/tmp/local-report.json"))
undercover.el will try to merge new report with existing one.
nilif you don't want to send coverage report:
(undercover "*.el" (:report-file "/tmp/local-report.json") (:send-report nil))