biocache-tests is a Groovy/Spock project that seeks to gather all functional (integration) tests that will be used to perform a sanity chcek for an environment.
At this stage this project is focused on the Biocache Service section from the Biocache Infrastructure Testing Plan 2018 and https://github.com/AtlasOfLivingAustralia/bie-index/wiki/Things-to-check-for-a-new-bie-index#biocache
A typical invocation of the tests will look like the line below
gradle -DtestHostUrl=https://devt.ala.org.au/biocache-service/ws/ -DreferenceHostUrl=https://biocache-test.ala.org.au/ws/ test
Where:
- testHostUr is the host under test
- referenceHostUrl is an additional host/environment that will be used to compare calls run by SideBySideTest suite
- Implement a look up to translate ala-hub taxa=XYZ query to biocache
- Implement a look up table/file for expected results in different environments