polylith-kaocha
polylith-kaocha copied to clipboard
Support passing cli args to kaocha
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 https://github.com/imrekoszo/polylith-kaocha/pull/7 .
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.