Skip to content

Commit

Permalink
A minor clarification to the docs on running integration tests (#1475)
Browse files Browse the repository at this point in the history
A minor clarification to the docs on running integration tests.
  • Loading branch information
alex-harvey-z3q authored Jun 20, 2024
1 parent 36c0aa4 commit 0adec0b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,23 @@ during development.
to work with an AWS account that you have access to. You can use the same user
or role that you use for Github actions.

#### run all tests

```bash
$ AWS_DEFAULT_REGION=eu-west-1 poetry run behave integration-tests/features --junit --junit-directory build/behave
```

_Note_: All integration tests are set up to run in `eu-west-*` region. If you prefer
to run in a different region you must update the region in each test before running it
to run in a different region, you must update the region in each test before running it:

```bash
$ grep -r eu-west integration-tests
```

#### run all tests
Edit the files.

```bash
$ AWS_PROFILE=<profile> AWS_DEFAULT_REGION=<region> poetry run behave integration-tests/features --junit --junit-directory build/behave
$ AWS_PROFILE=<your-profile> AWS_DEFAULT_REGION=<your-preferred-default-region> poetry run behave integration-tests/features --junit --junit-directory build/behave
```

#### run a specific feature
Expand Down

0 comments on commit 0adec0b

Please sign in to comment.