Curious about Cassandra DB Unit Testing? Here's a Tip...
Now you can just start Cassandra by calling EmbeddedCassandraService.start, and a new server process will start unless one is already running.
I found the starts of this snippet on the web, I can’t remember where, but I believe it was in the Akka source code, and I just took it and adapted it a little to work better in my workspace..
Below is the CassandraClient convenience class that I have created and that is used in the sample:
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)