jakemcc / test-refresh

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

Add the option to run tests once. #48

Closed mahinshaw closed 8 years ago

jakemcc commented 8 years ago

Thanks for the PR. I haven't had a chance to check it out and try it yet but gave it a quick glance and looks good.

Seems like a slightly weird feature to have in a test runner designed to run tests over and over again. Mind sharing whats the motivation? My guess is that its the quiet test runner but would like to confirm.

mahinshaw commented 8 years ago

Yeah, it's definitely a strange feature. We have an in house test framework with a custom emitter, and it would be nice to have this to run on our ci server so we get nice outputs, unlike what we currently get with lein test.

jakemcc commented 8 years ago

Ahh, I forgot about that feature. Thanks for responding. Taking it for a spin now.

jakemcc commented 8 years ago

Thanks for the contribution. I'm going to merge.

mahinshaw commented 8 years ago

Appreciated!

jakemcc commented 8 years ago

Released version [com.jakemccrary/lein-test-refresh "0.13.0"] with this feature.

I changed the flag to be :run-once instead of :once.

Thanks. Really glad to see the project being used, especially for uses I didn't originally think of.

mahinshaw commented 8 years ago

Thanks for the heads up. Already putting it to use!