In Lein, is it possible to run a specific test suite?

2,533 views
Skip to first unread message

Hussein B.

unread,
May 6, 2014, 3:22:15 PM5/6/14
to clo...@googlegroups.com
Hi,

I'm using clojure.test and Lein. Is it possible to run a specific test suit ? I don't want to run the whole test each time.

Thanks for help and time.

Alex Miller

unread,
May 6, 2014, 3:33:07 PM5/6/14
to clo...@googlegroups.com
Sure! You might try doing "lein help test" to give you a bunch more info about creating custom test sets based on selector tags but you can also

Run tests in a namespace:

  lein test :only my.test.ns

Run specific test:

  lein test :only my.test.ns/test-foo

Alex
Reply all
Reply to author
Forward
0 new messages