update README for integration tests

This commit is contained in:
Florian Dold 2022-09-05 14:04:46 +02:00
parent 27fb2d2970
commit b37fbdb59d
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

16
README
View File

@ -91,8 +91,17 @@ install the wallet first. Then use the test runner from the
taler-integrationtests package:
```shell
cd packages/taler-integrationtests/
./testrunner '*'
# List available tests
taler-wallet-cli testing list-integrationtests
# Run all tests
taler-wallet-cli testing run-integrationtests
# Run all tests matching pattern
taler-wallet-cli testing run-integrationtests $GLOB
$ Run all tests from a suite
taler-wallet-cli testing run-integrationtests --suites=wallet
```
The test runner accepts a bash glob pattern as parameter. Individual tests can
@ -102,8 +111,7 @@ To check coverage, use nyc from the root of the repository and make sure that th
from the source tree is executed, and not the globally installed one:
```
PATH="$PWD/packages/taler-wallet-cli/bin:$PATH" \
nyc ./packages/taler-integrationtests/testrunner '*'
nyc ./packages/taler-wallet-cli/bin/taler-wallet-cli '*'
```
## Anastasis Web UI