Docker Compose Tests
Use Gradle Compose tasks, not raw docker compose commands, for this repository.
Standard Workflow
- Start test infrastructure:
./gradlew composeUp - Run the target tests (examples):
./gradlew :docs:test --tests '*DocumentationTest*' --rerun-tasks./gradlew :search-client:jvmTest - Optionally stop infrastructure:
./gradlew composeDown
Recovery Workflow
If composeUp fails with container name conflicts (for example /testes):
./gradlew composeDown./gradlew composeUp- Re-run the failed test command
Rules
- Prefer
./gradlew composeUpas the canonical startup path. - Do not disable docs examples to bypass failing docs tests.
- Regenerate docs with test commands (not manual edits of generated outputs).
Source: jillesvangurp/kt-search — distributed by TomeVault.