Skip to content

Commit

Permalink
Merge pull request #2209 from Nordix/improve-e2e-docs/adil
Browse files Browse the repository at this point in the history
📖 Improve e2e documentation
  • Loading branch information
metal3-io-bot authored Jan 7, 2025
2 parents cf75cf8 + f646cd2 commit ae6c21f
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion docs/e2e-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,36 @@ tests, please refer to

## Running

Run e2e tests with
The whole e2e test suite is very big and it is not recommended to run whole
suite at a time. You can easily choose the test you want to run or skip by
using`GINKGO_FOCUS` and `GINKGO_SKIP`.
For example following will run integration test:

```sh
export GINKGO_FOCUS=integration
make test-e2e
```

Below are the tests that you can use with `GINKGO_FOCUS` and `GINKGO_SKIP`

- features
- ip-reuse
- healthcheck
- remediation
- pivoting
- k8s-upgrade
- clusterctl-upgrade
- scalability
- integration
- basic

You can combine both `GINKGO_FOCUS` and `GINKGO_SKIP` to run multiple tests
according to your requirements. For example following will run ip-reuse and
pivoting tests:

```sh
export GINKGO_FOCUS=features
export GINKGO_SKIP=healthcheck remediation
make test-e2e
```

Expand Down

0 comments on commit ae6c21f

Please sign in to comment.