Surfaces Kensa BDD test reports inside TeamCity. Three features, gated behind a single opt-in build feature:
- Kensa Report tab — embeds the Kensa HTML site as a per-build tab.
- First-class test results — Kensa tests appear in TeamCity's tests UI with their human-readable display names.
- Failure summaries — failed tests carry the Given-When-Then narrative + captured values + exception inline in the test details.
Requires Docker and a local checkout of kensa-dev/clearwave-example (the canonical demo project — already produces real Kensa output). Set KENSA_EXAMPLE_PATH to the absolute path of your checkout before running the dev tasks (e.g. export KENSA_EXAMPLE_PATH=~/code/clearwave-example, or put it in docker/.env).
./gradlew devUp # build the plugin, start TC + agent in docker
# open http://localhost:8111 — first run requires admin setup + EULA (~5 min)
# data/ is persisted, so first-run is one-time
./gradlew devReload # rebuild plugin, restart TC server (~30s)
./gradlew devDown # stop the stackAfter first-run setup, configure a TC build that runs ./gradlew test against /sample-projects/clearwave-example and add the Kensa Integration build feature.
./gradlew test # unit tests across all modules
./gradlew :server:serverPlugin # build the plugin zipcommon/— shared JSON DTOs and path resolution. No TC dependencies.agent/— agent-side: lifecycle adapter, service-message emitter, narrative builder.server/— server-side: build feature, report tab.docker/— local dev harness.