Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add main function for CLI usage #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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
@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