Kola/Kola Principle
Kola
The core principles Kola follows when it models contract-aware testing in ApiHug.
This page explains the guiding principles behind Kola.
Use it when you need to understand what Kola is trying to optimize for, and what it intentionally does not try to be.
Kola prefers to reuse stable ecosystem capabilities instead of rebuilding every testing concept from scratch.
That is why it leans on existing JVM tooling for assertions, execution, mocking, and build integration.
Kola works best when tests stay near the proto-driven module that owns the contract.
This keeps:
in one coherent workflow instead of scattering them across unrelated modules.
Kola is not designed as a sealed testing island. It should coexist with:
The goal is to add a contract-aware layer, not force every test into one rigid format.
Kola values scenario readability because contract testing is usually collaborative.
If only one implementation author can understand the scenario, the testing workflow loses much of its value. Kola therefore tries to keep scenarios understandable beyond the backend team alone.
Kola is not trying to:
It is a focused testing layer for contract-aware API scenarios.
These principles keep Kola aligned with the broader ApiHug philosophy: contract-first, collaboration-friendly, and integrated into normal engineering workflow instead of living beside it as a disconnected tool.