Maybe this is an anti-pattern.. please feel free to flame me if that's the
case ;)

I'd like to embed cassandra in junit so that I can test my database code
from my laptop and also get it working in our integration.

The general idea is to start with a clean slate, run cassandra, create
tables, simulate production load, then shutdown.

This page:

http://wiki.apache.org/cassandra/Embedding

seems to hint that it's possible.

of course.. there are some tests here that make it more complicated - like
quorum read.  but for right now I'll settle for one replica.

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
Skype: *burtonator*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>
War is peace. Freedom is slavery. Ignorance is strength. Corporations are
people.

Reply via email to