io.varianz:varianz-junit — added to testImplementation automatically by the Gradle plugin (includeJunit, default true), or explicitly with Maven (setup).
-Dvarianz.endpoint → VARIANZ_ENDPOINT → default http://127.0.0.1:50051. For a plaintext local registry the JVM also needs VARIANZ_INSECURE_ALLOW_PLAINTEXT=true (see Configuration).
Session API
If a test starts its own in-process gRPC server, that server still needs
RegistryBinding.init(...) and the agent — otherwise the test is connected to the registry but the server isn’t, and sync reports zero subscribers.Kotest
io.varianz:varianz-kotest provides the same lifecycle for Kotest specs — client per spec, session per leaf test:
