Skip to content

Commit f322f73

Browse files
committed
Update README
1 parent bb97efa commit f322f73

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,19 @@ You may prefer the HTML output for better readability by running:
121121
aas_test_engines check_server http://my-server.com/api/v3.0 https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRepositoryServiceSpecification/SSP-002 --output html > result.html
122122
```
123123

124+
### Running a Subset of the Tests
125+
By default, all tests of the selected suite/profile are executed.
126+
If you want to limit the test cases to a subset, you can pass `--filter`, so that only operations whose name matches the filter are tested.
127+
A filter consists of a list of glob patterns separated by `:`.
128+
Every operation whose name matches this glob pattern is executed.
129+
Optionally you can provide negative patterns which start after `~`.
130+
Every operation whose name matches a negative glob pattern is omitted from test execution.
131+
132+
Examples:
133+
* `GetAll*`: Tests all operations starting with `GetAll`
134+
* `GetAll*~GetAllShells`: Tests all operations starting with `GetAll` except for `GetAllShells`
135+
* `*~Post*:Delete*`: Test all operations except for the ones starting with `Post` or `Delete`
136+
124137
### Handling Authentication
125138
In case your server applies some authentication mechanism for security, you need to pass credentials to the Test Engines.
126139
You can use the `--header` option to do so by providing credentials within header fields:

0 commit comments

Comments
 (0)