Registry / testing / cassandra-unit

cassandra-unit

JSON →
library4.3.1.0javamavenunverified

A test framework for developing applications with Apache Cassandra, providing utilities for embedded Cassandra instances.

<dependency> <groupId>org.cassandraunit</groupId> <artifactId>cassandra-unit</artifactId> <version>4.3.1.0</version> </dependency>
INSTALL
IMPORT
SIG · CASSANDRA-UNIT
C
cassandra-unit
testingjavav4.3.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CassandraUnit
✓ org.cassandraunit.CassandraUnit

Minimal JUnit test using CassandraUnit rule to start an embedded Cassandra instance.

import org.cassandraunit.CassandraUnit; import org.junit.Rule; public class ExampleTest { @Rule public CassandraUnit cassandraUnit = new CassandraUnit(); @Test public void testCassandra() { // Your test logic here } }
Debug
Known issues
gotchaCassandraUnit may not support the latest Cassandra versions; check compatibility with your Cassandra driver version.
fix
Use a compatible version of CassandraUnit for your Cassandra driver, or consider Testcontainers for more up-to-date testing.
affects: >=4.0.0
Upgrade
Version history
4.3.1.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
17
OpenAI (training)
1
Resources
cassandra-unit — mvn dependency:get cassandra-unit · libregistry