Package com.hazelcast.test.archunit
package com.hazelcast.test.archunit
ArchUnit rules for Hazelcast code
-
ClassesClassDescriptionHazelcast internal callbacks shouldn't use the
ForkJoinPool#commonPool, due to the risk of blocking Hazelcast progress by other misbehaving applications/libraries.Hamcrest is great, but AssertJ is even better.Asserts that public API classes don't expose internal classesAsserts that tests are annotated with `@RunWith` or (Enterprise)SerialTest/(Enterprise)ParallelTest to ensure property isolationThere are many different flavours of Javanullability annotation, and it's easily to be inconsistent, especially when several are imported from transitive dependencies and often an IDE decides which one to import.