eftest icon indicating copy to clipboard operation
eftest copied to clipboard

WIP: Add main function for CLI usage

Open kawas44 opened this issue 7 years ago • 2 comments

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

kawas44 avatar Mar 25 '18 23:03 kawas44

Just for cross-reference: this is intended to resolve #43.

aviflax avatar Jun 25 '18 19:06 aviflax

Any updates on this? :)

manuel-uberti avatar Sep 04 '18 08:09 manuel-uberti