Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To run an individual test, run the test in your IDE or specify the sub-project and test type like so:

./gradlew -DtestType.single=-tests testName [project:]testType 

For example: ./gradlew --DintegrationTest.single=tests ArrayUtilsJUnitTest integrationTest

To run a specific category of tests (eg: GfshTest) you can do so:

./gradlew -PtestCategory=org.apache.geode.test.junit.categories.GfshTest distributedTest

Setting up your IDE

Eclipse

...

In order to build the project successfully in IntelliJ and run tests, it is recommended to  disable → Preferences → Build, Execution, Deployment → Build Tools → Gradle → "Create separate module per source set". It is also recommended to enable "Use auto-import"

 

Build environment in docker

...