Create API to get a list of all test cases 19/26919/6
authorchenjiankun <chenjiankun1@huawei.com>
Thu, 12 Jan 2017 07:50:30 +0000 (07:50 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Fri, 20 Jan 2017 01:58:50 +0000 (01:58 +0000)
commit75f55c05789beb4fbe2391d33349058bba4ea5c0
tree7372165d15f83de442fa2a5778ee540ae2ced7c0
parent8f4cc883d89e997320d68c653a12d59f8fba308b
Create API to get a list of all test cases

JIRA: YARDSTICK-456

Currently we do not have a API to get a list of all test cases;
Currently the test case info is from the comment;
So I create a API to get a list of all test cases;
And create a 'description' attribute to record info of a test case;
And use the CLI call this API;

Change-Id: Ife800600446683664097835c7b9f11899c85771d
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
50 files changed:
api/client.py [new file with mode: 0644]
api/resources/testcases.py [new file with mode: 0644]
api/urls.py
api/views.py
tests/opnfv/test_cases/opnfv_yardstick_tc001.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc005.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc006.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc007.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc008.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc009.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc010.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc011.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc012.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc014.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc020.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc021.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc025.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc027.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc037.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc038.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc040.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc042.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc043.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc047.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc048.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc049.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc050.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc052.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc054.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc055.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc063.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc069.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc070.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc071.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc072.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc073.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc074.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc075.yaml
tests/unit/benchmark/core/test_testcase.py
tests/unit/cmd/commands/test_testcase.py [new file with mode: 0644]
yardstick/benchmark/core/testcase.py
yardstick/cmd/commands/__init__.py
yardstick/cmd/commands/testcase.py
yardstick/common/constants.py