Dovetail command line is to have a simple command line interface in Dovetail to make easier for users to handle the functions that dovetail framework provides.
"click" is recommended.
Proposal (draft)
commands | Action | example | comments |
---|---|---|---|
dovetail help | show dovetail CLI usage |
| comments here |
dovetail -v|—version | show version number |
|
|
|
|
|
|
dovetail list | List all test suites | debug |
|
dovetail list —testsuite <SUITE_NAME> | List the <SUITE_NAME> ’s testarea and testacses | - nfvi |
|
dovetail show <TESTCASE_NAME> | show the <TESTCASE> details | testcases details, include its description, sub-testcases, etc |
|
|
|
|
|
dovetail run —SUT_TYPE <SUT_TYPE> | SUT_TYPE configuration/update | These should work together with dovetail run, such as which means to run debug test suite with SUT_TYPE compass if you just want to config the parameters, just do |
|
dovetail run —SUT_IP <SUT_IP> |
|
|
|
dovetail run —debug <true/false> |
|
|
|
dovetail run —yardstick_tag <latest/stable> |
|
|
|
dovetail run —functest_tag <latest/stable> |
|
|
|
dovetail run —creds <creds file> |
|
|
|
dovetail run —config_file <config file> |
|
|
|
|
|
|
|
dovetail run | run default testsuite “debug” |
|
|
dovetail run —testsuite <SUITE_NAME> | run a specific testsuite |
|
|
dovetail run —testsuite <SUITE_NAME> —testarea <AREA_NAME> | run a specific testsuite/testarea |
|
|
|
|
|
|
dovetail report | test results report to dashboard |
| this "dovetail report" section should be redesigned after encryption and dashboard work is settled. |