You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`TEAMENGINE_BASE_URL` - Base URL of the teamengine service. Example: `http://localhost:8080/teamengine`
109
+
-`TEST_SUITE_IDENTIFIER` - Identifier of the test suite as known to teamengine. Example: `ogcapi-features-1.0`
110
+
111
+
112
+
##### Options
113
+
114
+
| name | description |
115
+
| ---- | ----------- |
116
+
|`--help`| Show information on how to run the command, including a description of arguments and options |
117
+
|`--teamengine-username`| Username for authenticating with teamengine |
118
+
|`--teamengine-password`| Password for authenticating with teamengine |
119
+
|`--test-suite-input`| Inputs expected by teamengine for running the test suite specified with TEST_SUITE_IDENTIFIER. These vary depending on the test suite.<br><br>This parameter can be specified multiple times.<br><br>Each parameter must be specified as a name and a value, separated by the space character (_i.e._`--test-suite-input {name} {value}`).<br><br>Example: `--test-suite-input iut http://localhost:5000 --test-suite-input noofcollections -1`|
120
+
| `--output-format` | Format for the cite-runner result. Available options are:<br><ul><li><code>markdown</code> - Return results as a markdown document - This is the default</li><li><code>json</code> - Return results as JSON</li><li><code>console</code> - Return results in a format suitable for reading in the terminal</li><li><code>raw</code> - Return the raw results as provided by teamengine. This is an XML document</li></ul>
121
+
|`--include-summary`/`--no-include-summary`| Whether the output should include a summary. This is enabled by default. Disable it by providing `--no-include-summary`|
122
+
|`--include-failed-detail`/`--no-include-failed-detail`| Whether the output should include a section with details about failed tests. This is enabled by default, disable it by providing `--no-include-summary`.|
123
+
|`--include-skipped-detail`/`--no-include-skipped-detail`| Whether the output should include a section with details about skipped tests. This is enabled by default, disable it by providing `--no-include-summary`.|
124
+
|`--include-passed-detail`/`--no-include-passed-detail`| Whether the output should include a section with details about passed tests. This is disabled by default, enable it by providing `--include-summary`.|
125
+
|`--exit-with-error-on-suite-failed-result`/`--no-exit-with-error-on-suite-failed-result`| Whether the application should exit with an error code when a suite is declared as not failed. This is disabled by default, enable it by providing `--exit-with-error-on-suite-failed-result`|
126
+
127
+
128
+
##### Examples
129
+
130
+
1. Run the test suite for OGC API Features, using a service that is running locally on port 5000 and then output just the
131
+
result summary to the terminal:
132
+
133
+
```shell
134
+
cite-runner execute-test-suite \
135
+
http://localhost:8080/teamengine \
136
+
ogcapi-features-1.0 \
137
+
--test-suite-input iut http://localhost:5000 \
138
+
--test-suite-input noofcollections -1 \
139
+
--output-format console \
140
+
--no-include-skipped-detail \
141
+
--no-include-failed-detail
142
+
```
143
+
144
+
2. Run the test suite for OGC API Features using the [pygeoapi demo service] and then output the
145
+
full report in markdown format, redirecting the output to the `result.md` file:
This command is merely a convenience for when executing cite-runner via github actions. When running cite-runner
225
+
as a standalone tool you should prefer to use the [execute-test-suite command](#execute-test-suite) instead
226
+
227
+
## Global options
228
+
229
+
cite-runner includes a couple of global options. These are mainly useful for debugging. They must to be provided
230
+
before the command.
231
+
232
+
233
+
| name | description |
234
+
| ---- | ----------- |
235
+
|`--debug`/`--no-debug`| Whether to run cite-runner in debug mode or not. Debug mode provides additional runtime information, which can be used during development. This is disabled by default, enable it by providing `--debug`|
236
+
|`--network-timeout`| How many seconds to use as the timeout parameter when contacting the teamengine service. The default value is `120`|
0 commit comments