The baby and the bathwater
Alan Bateman
Alan.Bateman at oracle.com
Tue Mar 27 08:29:36 UTC 2018
On 27/03/2018 08:15, Cédric Champeau wrote:
> Dual testing is a minimum. In practice, it depends on the kind of tests.
> Typically, before JDK 9 for unit tests you never needed a jar to execute
> unit tests. Maven happens to built it, but in practice a class directory +
> resources is enough
This hasn't changed. You can put directories containing the test classes
+ resources on the class path as before. When testing modules you can
patch a module to add the test classes (and resources) that are compiled
into a directory, no need for either the module or the tests to be
packaged as JAR files.
Maybe your comment is about testing libraries that are Multi-Release JARs?
-Alan.
More information about the jigsaw-dev
mailing list