I need to start a Embedded cassandra instance to perform some operations on a Cassandra keyspace via Unit tests. Programming Language is Java. What are the options to start an embedded cassandra?
I used the mojo maven plugin, however after starting the instance using following command, I do not see the cassandra instance started at default port 9042 on localhost. Plugin:http://www.mojohaus.org/cassandra-maven-plugin/usage.html Command to start: mvn cassandra:run -Dcassandra.nativeTransportPort=9042
Is there something missing in terms of usage or do I need to use something different?
Thanks Jyothi
We use Cassandra unit for unit tests. This library provides useful helpers and allows to start Embedded Cassandra from code very easy