Anuket Project

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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.

 

python module "click" is used.

 

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
    - nfvi
    - ipv6
proposed_tests
    -nfvi
    -l3vpn

 

dovetail list <SUITE_NAME>

List the <SUITE_NAME> ’s testarea and testacses 

- nfvi
  -nfvi_tc001
  -nfvi_tc002
- ipv6
  -ipv6_tc001

 

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
1)dovetail run —SUT_TYPE compass,

which means to run debug test suite with SUT_TYPE compass
2)dovetail run —SUT_TYPE compass —testsuite proposed_tests

if you just want to config the parameters, just do
export SUT_TYPE=compass or to amend the config info in .yaml file

 

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.

  • No labels