@@ -221,7 +221,7 @@ Synopsis::
221
221
-c TD_CONFIG, --config Test driver configuration module at the current directory or the path specified
222
222
with the -P option. Do not use relative paths or the .py filename extension
223
223
-d, --debug Print debug information to stderr
224
- -H, --prettyprint Human readable status output
224
+ -H, --prettyprint Status output as human readable python dictionary
225
225
-h, --help show this help message and exit
226
226
-J TT_CONFIG_FILE Test target configuration in JSON format
227
227
-L, --log Print HTTP log information # TODO: update documentation
@@ -232,7 +232,11 @@ Synopsis::
232
232
-t, --testpackage Module describing tests (e.g. idp_samlbase.py generated from repository)
233
233
-Y, --pysamllog Print pySAML2 logs to stderr
234
234
235
- Remember to generate the
235
+ Output on stdout is a JSON dicitionary containing the test summary (overwrite with -H).
236
+ Output to stderr is the log file
237
+
238
+
239
+ Remember to generate the test target's config file in json format from python.
236
240
237
241
238
242
Running the script testing an SP
@@ -241,7 +245,7 @@ Running the script testing an SP
241
245
Synopsis::
242
246
243
247
$ sp_testdrv.py --help
244
- usage: sp_testdrv.py [-h] [-d] [-C CA_CERTS] [-J TT_CONFIG_FILE] [-m] [-l] [-c TD_CONFIG] [oper]
248
+ usage: sp_testdrv.py [-h] [-H] [- d] [-C CA_CERTS] [-J TT_CONFIG_FILE] [-m] [-l] [-c TD_CONFIG] [oper]
245
249
246
250
positional arguments:
247
251
oper Which test to run (mandatory except for options -h, -l and -m)
@@ -255,6 +259,7 @@ Synopsis::
255
259
with the -P option. Do not use relative paths or filename extension
256
260
-d, --debug Print debug information to stderr
257
261
-h, --help show this help message and exit
262
+ -H, --prettyprint Status output as human readable python dictionary
258
263
-J TT_CONFIG_FILE Test target configuration in JSON format
259
264
-L, --log Print HTTP log information # TODO: update documentation
260
265
-l, --list List all the test flows as a JSON object
@@ -264,6 +269,8 @@ Synopsis::
264
269
-t, --testpackage Module describing tests (e.g. sp_testbase.py generated from repository)
265
270
-Y, --pysamllog Print pySAML2 logs to stderr
266
271
272
+ Output on stdout is a JSON dicitionary containing the test summary (overwrite with -H).
273
+ Output to stderr is the log file
267
274
268
275
Examples
269
276
::::::::
0 commit comments