jakemcc / test-refresh

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

filter out tests in checkouts directories #27

Closed mattflo-outpace closed 9 years ago

jakemcc commented 9 years ago

If you add this to your project.clj then Leiningen will not add your checkouts' :test-paths to the classpath and lein test-refresh will no longer pick them up. It preserves lein test-refresh noticing changes to checkouts and refreshing then running your project's tests.

:checkout-deps-shares ^:replace [:source-paths :resource-paths :compile-path
                                 #=(eval leiningen.core.classpath/checkout-deps-paths)]

The #=(eval...) bit makes it work with nested checkouts.