Skip to content

Commit

Permalink
Document usage of test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick committed May 22, 2024
1 parent 1282465 commit 0ee13c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ To run tests with specific values:
ct install --helm-extra-set-args "--set image.tag=448"
```

Use the `test.sh` script to run a suite of tests, with different chart values.
If some of the tests fail, use the `-s` flag to skip cleanup and inspect the
resources installed in the Kubernetes cluster. Use `-n` to use a specific
namespace, not a randomly generated one. Use `-t` to run only selected tests.
See the command help (`-h`) for a list of available tests.

Example:
```console
./test.sh -n trino -s -t default
```

The documentation is automatically generated from the chart files. Install a
git hook to have it automatically updated when committing changes. Make sure
you [install the pre-commit binary](https://pre-commit.com/#install), then run:
Expand Down

0 comments on commit 0ee13c6

Please sign in to comment.