eftest
eftest copied to clipboard
WIP: Add main function for CLI usage
Allow execution from any tool that can launch from -main (lein run -m, clj -m, etc)
Hi,
I have implemented a main function with options inspired by boot test. https://github.com/adzerk-oss/boot-test/blob/master/src/adzerk/boot_test.clj
- Various ways to select namespaces
- Keyword to select test vars (search on the var and on its namespace)
- Clojure expression to filter test vars
- Expose Eftest run-test options
- REPL friendly for testing (find+run-tests)
- Deal with program option errors
- Deal with program exit code
- Clojure 1.7 support
TODO: Need to give more info about options usage and cross-usage. What happen if we use 2 keywords or a namespace name and a namespace regex, etc.
Regards
Just for cross-reference: this is intended to resolve #43.
Any updates on this? :)