Strictland is a new open-source JVM contract testing library for message compatibility. Unlike Pact or Spring Cloud Contracts, it takes a lightweight approach: it serializes messages in unit tests and saves the output as snapshot files committed alongside code. Tests fail when the serialized shape changes unexpectedly. It supports two check types — snapshot checks (exact format lock) and compatibility checks (backward/forward compatibility between message versions). No broker, schema registry, or Docker setup required. Available on Maven Central at version 0.3.0, with plans to add .NET and TypeScript support.
19.7K Impressions1 Comment