Fork me on GitHub

how do I run tests in a given folder? I want something like lein test :only ./foo/bar-tests/ and it would run all tests in there


not a real answer (which would be "read Lein's test.clj and hack it"), but I'm finding it's fairly trivial to code a bespoke test runner. Part 1 is having a snippet such as this one in your classpath it's easy to set via ~/.lein profiles Part 2 is having a yasnippet that would expand to e.g. (vemv/run-all-tests)


My snippet doesn't have folder selectors, but it does sound like something that you could hook up tools.namespace for?