TestΒΆ

In order to run tests:

  • MongoDB must be installed, but not necessarily running.

  • Shock must be installed, but not necessarily running.

    • A Linux Shock binary is provided in shock_builds.

Todo

Update these instructions for the Blobstore, which has replaced Shock.

  • Minio must be installed, but not necessarily running.

    • Minio version must be greater than 2019-05-23T00-29-34Z.

  • The Handle Service must be installed, but not necessarily running. See test.cfg.example for setup instructions.

  • The Sample Service must be installed, but not necessarily running. See test.cfg.example for setup instructions.

  • ArangoDB must be installed but not necessarily running as it is a requirement of the Sample Service.

See Service dependencies for more information about these test dependencies.

Next, copy the test.cfg.example file to test.cfg and fill in appropriately.

Then:

cd python_dependencies/
pipenv shell
cd ..
./gradlew test

The testQuick target is substantially faster but does not run all tests.

Todo

Move to developer documentation vs. server administrator documenation.