Repository for infrastructure & runtime integration tests (both applications and test harness)
- Install
pipenv
if you don't already have it. (On Macs:brew install pipenv
) - Run:
This will create a virtualenv for you, and install dependendencies into it.
pipenv install
- You must have an executable
klotho_main
at the root of this package (or a symlink to it). - You may (optionally) have an executable
klotho_release
at the root of this package. If you do not, the runner will download the latest release and use that.
You can kick off individual runs with:
pipenv run tests ...
Example:
pipenv run tests --directories ts-app --region us-west-1 --provider aws
To load an interactive pipenv environment:
pipenv shell
Example:
$ pipenv shell
$ python3.10 runner/runner.py --directories ts-app --region us-west-1 --provider aws
The runner
module itself has a set of unit tests. To run them:
pipenv run runner_unit_tests