aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-05 14:04:46 +0200
committerFlorian Dold <florian@dold.me>2022-09-05 14:04:46 +0200
commitb37fbdb59dc54794a96269aa432078abf36d3a09 (patch)
tree79b143712cc3d3dbb32be1ba4c4bfa3618d27ed9 /README
parent27fb2d297002d7440278933c15a894bfe1820629 (diff)
update README for integration tests
Diffstat (limited to 'README')
-rw-r--r--README16
1 files changed, 12 insertions, 4 deletions
diff --git a/README b/README
index fc7a2e719..a5fed3d54 100644
--- a/README
+++ b/README
@@ -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