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

Support passing cli args to kaocha #6

Open
ieugen opened this issue Aug 24, 2022 · 1 comment
Open

Support passing cli args to kaocha #6

ieugen opened this issue Aug 24, 2022 · 1 comment

Comments

@ieugen
Copy link

ieugen commented Aug 24, 2022

I think it's quite important to be able to pass cli apps to kaocha.
Kaocha options can be added to config for more stable options.

Some options I care about:

  • fail-fast
  • run specific tests
  • print test plan
  • print configuration
  • use specific reporters
  • etc

Suggestion: I know some programs work by passing all args after this character sequence -- .
This might work.

Having this feature would make debugging test issues like #7 .

@imrekoszo
Copy link
Owner

This should already be possible to implement in consumers of p-k by providing a :polylith-kaocha/runner-opts->kaocha-poly-opts hook and any of the :polylith-kaocha.kaocha-wrapper/post-*-config hooks.

What I don't know is how to call poly test with extra args in a way that they will be available in the former.

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

No branches or pull requests

2 participants