§04 / services / testing
Testing
We test what production runs.
Unit, integration, contract, load. Tested against real dependencies, not mocks that lie.
FIG. 04.0testing
§04.1/ capabilities
What we ship.
- 04.1Integration suites that run against real databases, queues, and container runtimes
- 04.2Consumer-driven contracts that catch breaking changes before they ship
- 04.3Load and soak testing tied to concrete throughput and latency budgets
- 04.4Evaluation harnesses for LLM features: deterministic test sets, drift tracking
- 04.5Static analysis pipelines with custom detectors backed by our published research
- 04.6Mutation testing to verify the tests themselves actually defend the code
§04.2/ stack
Tools in hand.
JUnitTestcontainersPactk6GatlingSonarQubeSpotBugsWireMockMockito
§04.3/ artifact
In production.
A sample of what an engagement actually looks like in code.
@Testcontainers
class OrderRepositoryIT {
@Container
static PostgreSQLContainer<?> pg =
new PostgreSQLContainer<>("postgres:17-alpine");
@DynamicPropertySource
static void wire(DynamicPropertyRegistry r) {
r.add("spring.datasource.url", pg::getJdbcUrl);
}
@Test
void persists_orders_idempotently() {
var first = repo.upsert(orderWithKey("X-1"));
var second = repo.upsert(orderWithKey("X-1"));
assertThat(first.id()).isEqualTo(second.id());
}
}