You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flink/flink-architecture-tests/flink-architecture-tests-pr...
Weijie Guo c065920c1c Update version to 2.1-SNAPSHOT 3 days ago
..
archunit-violations [FLINK-36960][API] Make Source is able to declare and output Generalized Watermarks 2 weeks ago
src [FLINK-35454] Allow connector classes to depend on internal Flink util classes 8 months ago
README.md [FLINK-32860][flink-table-api] Add missing visibility annotation for Table APIs 1 year ago
pom.xml Update version to 2.1-SNAPSHOT 3 days ago

README.md

flink-architecture-tests-production

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.

What should I do if the tests fail?

Please refer to README.

How do I write a new architectural rule?

Please refer to README.

How do I write a ArchUnit test?

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);

How do I add a module?

In order to add a module to be tested against, add it as a test dependency in this module's pom.xml.

How do I test Scala classes?

Please refer to README.