jakemcc / test-refresh

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

merge :base profile #67

Closed shinichy closed 7 years ago

shinichy commented 7 years ago

When running test-refresh with another profile like lein with-profile dev test-refresh, test-refresh doesn't run any tests. You can reproduce it by running it under lein-test-refresh/expectations-project. Looks like test-selector is nil in this case but test task seems to inherit it from :base profile. So I merge :base profile in test-refresh then the issue is solved.

jakemcc commented 7 years ago

Thanks. I'll try to take a look at this later today and get it in.

jakemcc commented 7 years ago

Released a slightly different fix that addresses the problem. Merges in the :leiningen/test profile instead of :base since that is what lein test does. :leiningen/test provides a default test-selector that runs tests.

Thanks for bringing this up.

Released [com.jakemccrary/lein-test-refresh "0.20.0"]