We do something similar by starting CassandraDaemon class directly (you would 
need to provide a yaml file though). You can start and stop CassandraDaemon 
class from your unit test (typically @BeforeClass).

Praveen

On Jul 12, 2016, at 3:30 AM, Stone Fang 
<cnstonef...@gmail.com<mailto:cnstonef...@gmail.com>> wrote:

Hi,
how to start a embed cassandra instance?so we can do a unit test on local,dont 
need to start a
cassandra server.

https://github.com/jsevellec/cassandra-unit this project is good,but the 
license is not suitable.
how do you achieve this?

thanks in advance

stone

Reply via email to