Skip to content

Repository for infrastructure & runtime integration tests (both applications and test harness)

License

Notifications You must be signed in to change notification settings

klothoplatform/infra-tests

Repository files navigation

infra-tests

Repository for infrastructure & runtime integration tests (both applications and test harness)

Running Tests

Installing dependencies

  1. Install pipenv if you don't already have it. (On Macs: brew install pipenv)
  2. Run:
    pipenv install
    
    This will create a virtualenv for you, and install dependendencies into it.

Running locally

  • 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

Developing infra tests

Runner unit tests

The runner module itself has a set of unit tests. To run them:

pipenv run runner_unit_tests

About

Repository for infrastructure & runtime integration tests (both applications and test harness)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published