Collection of test utility classes:
AbstractPackageDependenciesTestand annotate your packages with
@DependsUponto check dependencies between packages.
- Declare a
FileMementoto restore a file after the test.
- Overwrite and restore system properties with the
- Declare a generic
MementoRulefor arbitrary things to restore, using a
- Log the beginning and end of a test run, by declaring a
Compatibility with JDK-9+
AbstractPackageDependenciesTest depends on classes from the
jdeps tool in JDK 8 residing in the
This file has been removed in JDK 9 and the jdeps classes where moved into the module
but without exporting the classes, so we can't just add a
This may become a problem in the future, but for now, we can live with a Maven profile, so building works on JDK8 and 9.