This guide is for people interested in working on the Geode code itself. It assumes you have basic familiarity with using Geode and standard Java tools.
Building and Running Tests
Geode uses the standard gradle lifecycle. On Unix platforms, to build and run all tests:
./gradlew clean build
Geode has quite a few tests, so this will take several hours. The tests are broken into the following categories
- unit tests - run with
- integration tests - run with
- distributed integration tests - run with
To run an individual test, run the test in your IDE or specify the sub-project and test type like so:
./gradlew -DtestType.single=testName [project:]testType
./gradlew -DintegrationTest.single=ArrayUtilsJUnitTest integrationTest
Setting up your IDE
Geode uses gradle plugins to generate your IDE configuration files.
./gradlew eclipse will generate the project and classpath files for all subprojects. Import all projects into eclipse.
/gradlew idea will generate project files for IntelliJ. Import the resulting project files.
Build environment in docker