diff --git a/docs/abra/hack.md b/docs/abra/hack.md index ec6c2e82..df990437 100644 --- a/docs/abra/hack.md +++ b/docs/abra/hack.md @@ -40,6 +40,9 @@ bats tests/integration `ABRA_TEST_DOMAIN` should also have a DNS A record for `*.test.example.com` which points to the same server so that the test suite can deploy apps freely. +It's advised that you re-use the same server and therefore the same Traefik +deployment for running your integration tests. Then you'll have more stable +results. If you're hacking on the tests, you can speed things up with the following. @@ -51,12 +54,10 @@ This will avoid nuking `$ABRA_DIR` for each test which avoids the costly `git clone` of the catalogue on each test run. For the actual CI testing, we probably want this clean slate on each test to avoid confusion. -You can filter on test names and/or tags to run specific kinds of tests. +You can filter on test names to run specific kinds of tests. ``` -bats tests/integration \ - --filter "validate app argument" \ - --filter-tags "app_backup,\!slow" +bats tests/integration --filter "validate app argument" ``` ## Using the `abra` public API