Re: Embedded Cassandra for Integration testing

2010-03-14 Thread Ran Tavory
I have a writeup just for that from a while ago http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/ This addresses version 0.5.0, not 0.6 but I believe the diff isn't that big. And as mentioned, you may also browse hector to get the list of dependencies. Please also see http:

Re: Embedded Cassandra for Integration testing

2010-03-14 Thread Ryan Daum
Thanks Tom; I am working with 0.6 beta2 now, so not immediately applicable, but this is helpful. Maybe we ought to consider taking what you've done and putting it up in a generic way accessible on a public repo. R On Sun, Mar 14, 2010 at 2:16 PM, Tom Chen wrote: > Hi Ryan, > > I have been runn

Re: Embedded Cassandra for Integration testing

2010-03-14 Thread Jonas Bonér
Here is an util class from the Akka test suite, embedding Cassandra: import org.apache.cassandra.service.CassandraDaemon object EmbeddedCassandraService { System.setProperty("storage-config", "src/test/resources"); val cassandra = new Runnable { val cassandraDaemon = new CassandraDaemon

Re: Embedded Cassandra for Integration testing

2010-03-14 Thread Tom Chen
Hi Ryan, I have been running some tests locally, and I've been using. http://github.com/rantav/hector If you look at the pom.xml you can get a pretty good idea of the dependencies required to run a cassandra client for version 5. I usually combine it with the maven one jar to create one jar file