This submodule contains all architectural tests of production code. Running these tests together (rather than individually per module) allows caching the imported classes for better performance.
Please refer to README.
Please refer to README.
Please refer to the ArchUnit user guide for general documentation. For quick start, you could find an example at flink-architecture-tests-production/ArchitectureTest:
@ArchTest public static final ArchTests API_ANNOTATIONS=ArchTests.in(ApiAnnotationRules.class);
In order to add a module to be tested against, add it as a test dependency in this module's pom.xml
.
Please refer to README.