build.jenesis.repository.importer.testkit
build.jenesis
build.jenesis.repository.importer.testkit is a Java jar artifact published under the build.jenesis group on Maven Central. 2 versions are indexed here. Select a version below for Maven, Gradle and SBT snippets plus CVE data.
Add to your project0.6.0
<dependency>
<groupId>build.jenesis</groupId>
<artifactId>build.jenesis.repository.importer.testkit</artifactId>
<version>0.6.0</version>
</dependency>Version Details — 0.6.0
<p>{@code ImportContract} states each documented clause once - an interrupted walk resumes from its own cursor without losing or repeating an asset, an asset is fetched only when opened and copies to storage unread, a refused credential is distinguishable from an absence and from an outage, a connector without what it needs declines rather than half-building, and every reported path is one a store write may address - and {@code ImportFixture} is how one connector scripts the incumbent those checks run against. A connector is covered by writing a fixture, never by adding assertions to its own suite, which is how five connectors arrived at five different answers to the same questions. <p>{@code ScriptedUpstream} is the shared incumbent double the five per-connector {@code FakeFetcher} copies had each re-invented. It is part of the contract rather than a convenience: it records every request so an anonymous walk can be proven to send no credential, and it serves a generated artifact body <em>only</em> through the streaming {@code download} overload, so a connector that reaches for the buffered {@code fetch} fails by name. The streaming tripwire itself is the format kit's {@code GeneratedBody} + {@code WitnessStore}, reused rather than re-implemented. <p>The module depends only on the importer SPI and the format testkit - no junit, no assertion library, no server - so an enterprise distribution's test modules can require it for their own connector fixtures exactly as they already require the store testkit. The classes are test doubles; nothing here provides a service, so the module is inert on a runtime graph.