Skip to content

Conversation

@kawas44
Copy link
Contributor

@kawas44 kawas44 commented Mar 25, 2018

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 kawas44 changed the title WIP: Add main function for CLI usage. #43 WIP: Add main function for CLI usage Mar 25, 2018
- Allow execution from any tool that can launch from -main
  (lein run -m, clj -m, etc)

weavejester/eftest/weavejester#43
@kawas44 kawas44 force-pushed the add-cli-tool-support branch from 9997ca4 to 503a89e Compare March 25, 2018 23:38
@aviflax
Copy link
Contributor

aviflax commented Jun 25, 2018

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

@manuel-uberti
Copy link

Any updates on this? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants