...
- unit tests - run with
./gradlew test
- integration tests - run with
./gradlew integrationTest
- distributed integration tests - run with
./gradlew distributedTest
Note - The engineering team is still in the process of migrating the test suite to the open source code. You may not see any distributedTests yet.
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
For example: ./gradlew -DintegrationTest.single=ArrayUtilsJUnitTest integrationTest
Setting up your IDE
Geode uses gradle plugins to generate your IDE configuration files.
...
Invoking /gradlew idea
will generate project files for IntelliJ. Import the resulting project files.
Build environment in docker
dev-tools/docker/compile/start-compile-docker.sh