Kora Testing Blackbox

Black-box E2E tests of a packaged Kora 2.0 service — Testcontainers builds the application Dockerfile and runs the real artifact, an AppContainer (a GenericContainer subclass you write) exposes 8080 public + 8085 system, and startup is gated on Wait.forHttp("/system/readiness").forPort(8085).forStatusCode(200) — never on a log line. Covers distTar packaging, eclipse-temurin:25-jre-jammy and GraalVM native images, Network.SHARED with PostgreSQL/Kafka, withEnv config injection for httpServer.port / httpServer.system.port, and asserting real /metrics series instead of the "# Metric Scraper disabled" stub. Use for real-artifact E2E; for in-process @KoraAppTest see kora-testing-junit-java / kora-testing-junit-kotlin.

kora-projects 6ba4a42 13 files · 138.6 KB Updated

File contents

kora-projects/kora-skills/tree/main/plugins/kora-v2/skills/kora-testing-blackbox commit 6ba4a42f85

Frequently asked questions

npx skillmds@latest add kora-projects/kora-testing-blackbox-2