AAP Tests
This project gathers the tests of the AAP (Authentication, Authorisation and Profile) which touch upon more than one service. They are API tests representing the different journeys our programmatic users take.
We have used karate to describe the steps in these journeys in a clear syntax that gives us runnable tests.
HOW-TO run
The tests are run as part of the build:
./gradlew clean build
By default, the tests will run against the explore instance of the AAP (https://explore.api.aai.ebi.ac.uk). This can be changed in the karate-config.js.
The tests will produce JUnit compatible XML reports, as well as human-friendly test results.
Pre-requisite
Java 8 and gradle
Some tests rely on variables being set: these are imported directly from environment variables
(like AAP_SDO_TEST_PREFIX_PASSWORD
for prefix.feature). We
automatically import any environment variable that start with AAP_
.