This repo implements integration tests which can be executed against a Thoth deployment.
The integration testsuite is written in behave using Gherkin language.
./test.sh
The command above will trigger installation of all the necessary libraries and executing the test-suite in a virtual environment. By default, test environment is tested with integration tests. The script above can be parametrized using the following environment variables:
- THOTH_USER_API_URL - an URL to deployment where User API sits
- NO_INSTALL - do not install dependencies (expects that the pipenv install command was already issued)
Run integration tests against stage deployment:
THOTH_USER_API_URL=stage.thoth-station.ninja ./test.sh
Run integration tests against test deployment (default behaviour):
THOTH_USER_API_URL=test.thoth-station.ninja ./test.sh