Age | Commit message (Collapse) | Author | Files | Lines |
|
They replace the former calls in run_tests which are not suitable for all
test cases. Now any test case can define how to clean its resources.
If the snapshot cannot be created, the test case is considered as
failed. Only a message is printed if any failure during cleaning.
It also defines a new class called OSGCTestCase useful for test cases
which don't clean their OpenStack resources.
All test cases located in opnfv_tests/openstack inherit from it to
keep the global behavior unchanged.
It also deletes exit instructions in openstack_clean and
openstack_snapshot, removes clean flags in testcases.yaml and updates
the related utils.
All Docs are modified as well.
JIRA: FUNCTEST-438
Change-Id: I8938e6255708012380389763a24059ace4ce45d8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It also adds shebang and conforms the copyright header with the related
OPNFV template.
Change-Id: Iacb0cc8629e3021181eef2e8cb76daf48601abf4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
run_tests.py now relies on PrettyTable as most of the openstack clients.
generate_report.py and its related unit tests are simply removed.
It sets padding_width=5 in testcase.py too to conform with
run_tests.py.
Now report is printed in every case.
Change-Id: Id9ce93f984503f25d6a2150482f397853fa3dd64
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It takes into account the next framework modifications:
- Switch TestCase attribute criteria to result [1]
- Manage criteria in TestCase [2]
- Print the real testcase duration [3]
- Rename TestCase check_result() to is_successful() [4]
[1] https://gerrit.opnfv.org/gerrit/#/c/33695/
[2] https://gerrit.opnfv.org/gerrit/#/c/33697/
[3] https://gerrit.opnfv.org/gerrit/#/c/34369/
[4] https://gerrit.opnfv.org/gerrit/#/c/34373/
Change-Id: I3a6790e4233ef4c55b0535618dacf702f779f28b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
This is the first version prepared before merging "Switch TestCase
attribute criteria to result" [1].
It will also be updated to integrate VNF classes as soon as they are
ready (UT, pylint, docstrings...).
[1] https://gerrit.opnfv.org/gerrit/#/c/33695/
Change-Id: I2fc8f4ae377afee70e083cd51e5725eccda15431
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It modifies all presentations to be conformed with the new dir. It also
deletes reveal.js' README.txt which is now useless.
Change-Id: Ic16b087416e855dab8fa8a4ae2f8dd591b70859c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
TestAPI naming in documents is quite arbitrary, test api/testapi/Test
API/testApi/TestApi..., this patch aims to give it a formal name TestAPI
Change-Id: I9ea91418814352d3176df3f35598b6c5929b1dae
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I941093e91897d1425720b5acdbf072cf620f131d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: I30386c3ba09292ed0bcdbeb83ec1b0eb13114968
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: Ieb70482ce2a7a63864dfad08d2e6530265f8d55f
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
Change-Id: I0ecdc71fe6cd58923c6fa9ad1bc01a0cc13bf72b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-327
Change-Id: If5ece94ce7181f36b024cdac30b6fa55f2de0abc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Iea8958a3a64d0a0f53bbbd1d43aca9d27c4d6523
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
Change-Id: Ib46ce8fa1d0373d3eee4c59b85abc0e87fab6a79
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
|
|
Change-Id: I020a296a64ffb2b10b0772e0f971fd8732f0f2d7
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
Change-Id: I9d1a62553d9fdcae1ac7f72a4b70d76b64fe22f9
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: I122075c94a3511ccec8c2a43f7bf0802d19b7da7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
JIRA: FUNCTEST-323
Change-Id: I0ae5cbfa17564fc20983c864662807ac2cd85830
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
I need a lift indent as functest section
JIRA:-
Change-Id: Ib5965ebef84b66af58409d500d56bf23df632998
Signed-off-by: kubi <jean.gaoliang@huawei.com>
|
|
Change-Id: I0a021b1a3d04131dc2e9635adbb7e98a63b7c668
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: Ic78ee1071e477e89842d89bb99bd82cc021d9d78
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: I5599e887fcdad1f70a23e3f7be16acebe7c13250
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
|
|
I add yardstick section into the Conversation with
Testing Community Presentation.
please feel free to give comments to me.
Change-Id: I42662e8fed6d258c7613b7097ddd54dedfd72141
JIRA:-
Signed-off-by: kubi <jean.gaoliang@huawei.com>
|
|
|
|
change testapi0.png file
rename test_criteria to criteria
change criteria description from passed/failed to PASS/FAILED
JIRA: FUNCTEST-308
Change-Id: I29c05c4068c50cfe47ab6b5e8acc3d797f2ff43a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ic1fd53a7a1e7cc35259bc2af78dab791617b6185
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: Ia1d3ce3c220a405821d8fae80cb5f4ddd22c72ec
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
|
|
Change-Id: I23a474247680751bb4f9ac0cc17b00229edd8886
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: I34393b0398f1c7a4f7aef9fea79f265ec5c915b5
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: I8ba24fb4b2a3a6c8d8c69f15a1fd9259aea4ab6c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|