Skip to content

How to integrate it in your project

Jérémy Sevellec edited this page Oct 15, 2019 · 13 revisions

There are many ways to integrate CassandraUnit in your project

  1. If you are using Maven, CassandraUnit releases are available in Maven central repository. So you can just edit your pom.xml and add this test dependency:

     <dependency>
     	<groupId>org.cassandraunit</groupId>
     	<artifactId>cassandra-unit</artifactId>
     	<version>3.7.1.1-SNAPSHOT</version>
     	<scope>test</scope>
     </dependency>
    

Snapshots are available too by declaring a maven repository with this url : https://oss.sonatype.org/content/repositories/snapshots/

  1. You can get jar at this url : Maven repository download

  2. You can build it : To build it you need to have an installation of maven version >=2.x You have to :

    • Clone the git repository from a tag to get a special version or from master if your want to get on top of it.
    • execute at the source home directory (where there is the pom.xml) : mvn package