kandra-test - Unit and integration testing for Kandra repositories
Provides fake-session unit testing and Testcontainers or cloud integration testing for code using Kandra repositories.
Tags
Updated: 2026-11-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Run fake-session unit tests
- Capture executed CQL statements
- Inspect bound parameter values
- Run real CQL integration tests
- Reset captured statements
Inputs
- Kandra repository test code
- Test backend setting
- Cloud cluster configuration
Outputs
- JUnit test results
- Captured statement views
- Test-keyspace database state
Requirements
- JUnit Jupiter 5.10.x
- Gradle useJUnitPlatform configuration
- Testcontainers 1.21.4 or later
- Docker environment for container tests
- KANDRA_CLOUD_* cluster configuration for cloud tests
- DataStax driver 4.17.0 for kandra-test 0.5.0
