jakemcc / test-refresh

Refreshes and reruns clojure.tests in your project.
393 stars 28 forks source link

run-once should exit with non-zero if there were test failures #64

Closed awkay closed 7 years ago

awkay commented 7 years ago

This line of code:

https://github.com/jakemcc/lein-test-refresh/blob/master/test-refresh/src/com/jakemccrary/test_refresh.clj#L285

is wrong. If the tests failed this should exit with 1, or else the plugin is not usable for running CI tests (e.g. for formatting with a custom formatter and run-once)

jakemcc commented 7 years ago

Fixed with pull request #65 .

Thanks!