Open
Description
Right now, best I can figure, the way to use --scan-modules
is to add your application's modules to the module path of the JVM running the console launcher.
I.E.
java \
--module-path libs:build/jar \
--add-modules org.junit.platform.console,web.hello.test,web.util.test \
--module org.junit.platform.console \
execute \
--select-module web.hello.test \
--select-module web.util.test \
--reports-dir build/junit
It would be nice if the part where the launching of the console was configured didn't interact with where i was telling it to look for tests.
I.E. I kinda want
junit execute --module-path libs:build/jar execute --scan-modules
To be an option, but it isn't possible to wrap up java -jar junit-platform-console-standalone.jar
into an alias on account of needing to add these options on the jvm.
(similar, but less pressing, concerns about jacoco via the cli)
Deliverables
- [Module Path Can be configured to the right of
execute
]