- Assumptions
- You have SBT installed - https://github.com/harrah/xsbt/wiki/Setup
- Cassandra 0.8 or later is running locally - http://wiki.apache.org/cassandra/GettingStarted
-
Get Apophis
git clone git@github.com:joestein/apophis.git cd apophis
-
Update the schema for Apophis's Specification Tests
schema/bootstrap.txt contains the schema for Apophis's Specification Tests
~/apache-cassandra-0.8.6/bin/cassandra-cli -host localhost -port 9160 -f schema/bootstrap.txt
-
Run Apophis's test
sbt test
The tests are also examples of how to use Apophis's. Take a look at them.
Apophis uses Skeletor the Scala wrapper of Hector https://github.com/joestein/skeletor when using Cassandra
Thanx =) Joe Stein