Build and Test

This section covers everything you need to build Apache Cassandra from source and validate your changes with the project’s test suites.

In This Section

Getting Started

Prerequisites, cloning the repository, and your first build.

Building and IDE Integration

Setting up IntelliJ IDEA or Eclipse for Cassandra development.

Testing

Unit tests, integration tests, distributed tests (dtests), and guidelines for writing effective tests.

Quick Reference

Build from source
git clone https://github.com/apache/cassandra.git
cd cassandra
ant
Run unit tests
ant test
Run unit tests with Docker
.build/docker/run-tests.sh -a test

See Testing for the full list of test types and options.