THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Specify geode-junit as a compile dependency for your tests by adding the following in your build.gradle
testCompile 'org.apache.geode:geode-junit:geodeVersion'
- Specify the gradle plugin that will download and install the Geode distribution to be used by GfshRule by adding the following at the top of your build.gradle file
plugins { id "io.pivotal.GeodeIntegrationTestPlugin" version "1.0" }
This will download the latest version of Apache Geode. If you want to specify a version use the following in your build.gradle
geodeIntegration { version = "1.2.0" }
- Write your integration tests by spinning up a Geode cluster using gfsh commands as shown above.
A very simple application can be found at: https://github.com/sbawaska/geode-integration-test-example