I have a large code base built with gradle to a fatjar. I have several JUnit tests which run when building.
The jar & resources will be provided to a 3rd party on an isolated system, which does not have gradle and the ability to build the whole code base (and run the test goal).
Question: How can I provide my tests with the jar, and allow them to be run from command line like running a jar?
I can't find anything on SO about distributing tests using gradle, and all the command line JUnit examples are insufficient because they require manually entering the classpath and the number of dependencies is enormous (hence use of gradle + fatjar).
Aucun commentaire:
Enregistrer un commentaire