https://github.com/fukamachi/cl-coveralls.git
git clone 'https://github.com/fukamachi/cl-coveralls.git'
(ql:quickload :cl-coveralls)
CL-Coveralls is a helper library to post test coverage to Coveralls.
This software is still ALPHA quality. The APIs will be likely to change.
Coveralls allows us to track the number of entered times for each lines, however all Common Lisp coverage tools don't provide the information. CL-Coveralls posts it as 1
for all lines entered.
CL-Coveralls see if $COVERALLS
is bound for deciding whether recording test coverage or not. Don't forget to set the environment variable before running tests.
$ COVERALLS=true sbcl --load test-script.lisp --eval '(sb-ext:exit)'
In your test script, wrap your test code with coveralls:with-coveralls
.
(coveralls:with-coveralls ()
;; Run tests
(prove:run :your-app))
Copyright (c) 2015 Eitaro Fukamachi (e.arrows@gmail.com)
Licensed under the BSD 2-Clause License.