Tencent/QTAF

尝试生成json报告失败;指定output提示无法识别参数,不指定output又提示缺失参数

Closed this issue · 0 comments

❯ python manage.py runtest testcase.atomic.tcsplatform --report-type json --title 0921 --output 0921.json
usage: Run QTA testcases [-h] [-w WORKING_DIR] [--priority {BVT,High,Normal,Low}]e 0921 --output 0921.json ─╯
[--status {Design,Implement,Ready,Review,Suspend}] [--excluded-name EXCLUDED_NAME] [--owner OWNER]
[--tag TAG] [--excluded-tag EXCLUDED_TAG] [--report-type {empty,stream,xml,json,html}]
[--report-args REPORT_ARGS] [--report-args-help {empty,stream,xml,json,html}]
[--resmgr-backend-type {local}] [--runner-type {basic,multithread,multiprocess}]
[--runner-args RUNNER_ARGS] [--runner-args-help {basic,multithread,multiprocess}]
[--execute-type {random,sequential}] [--share-data SHARE_DATA] [--global-parameters GLOBAL_PARAMETERS]
[--config-file CONFIG_FILE]
[TEST ...]
Run QTA testcases: error: unrecognized arguments: --title 0921 --output 0921.json
❯ python manage.py runtest testcase.atomic.tcsplatform --report-type json
usage: runtest <test ...> --report-type [--report-args ""] ─╯
manage.py: error: the following arguments are required: -o/--output