Make lein quickie respect the test selectors
Closed this issue · 4 comments
Because it doesn't respect the test selectors, it'll automatically run my benchmarks which is slow and annoying.
https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#tests
Good idea, I'll work on that this week.
It would be ideal if something reusable fell out of it, needing test selector support in something that runs or processes tests is fairly common.
@bitemyapp I am just using the clojure.test/run-all-tests
function. It has an optional parameter to filter out which namespaces are tested. This commit just lets you pass in a matcher via the command line instead of specifying it in the project file. Please let me know if this doesn't work or isn't what you hoped for.
Seems solid to me for now. Thanks :)