summaryrefslogtreecommitdiffstats
path: root/docs/testing
AgeCommit message (Collapse)AuthorFilesLines
2017-05-30Define create_snapshot() and clean() in TestCaseCédric Ollivier1-8/+2
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>
2017-05-23Call fetch_os_creds.sh from $PATHLinda Wang1-1/+1
Now it's defined as script in releng/modules' setup.py [1] [1] https://gerrit.opnfv.org/gerrit/#/c/35183/ Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Depends-On: Ic77f4e46d6d3396f9891b73105a0eb7aa037754f JIRA: FUNCTEST-829 Change-Id: Ief821b7326e0a6c2bbcab31bb21629455e4bc9ea Signed-off-by: Linda Wang <wangwulin@huawei.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-19Merge "Documentation for unit test project"Morgan Richomme1-10/+66
2017-05-04Merge "refstack-client userguide"Morgan Richomme2-2/+119
2017-05-03refstack-client userguideMatthewLi2-2/+119
JIRA: FUNCTEST-758 container setup steps are skipped, since they already included in the functest userguide documents. Change-Id: I729d4c3174b03706624a7235da24cb3043b28c2c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-04-26Documentation for unit test projectashishk19941-10/+66
JIRA: FUNCTEST-594 Change-Id: I2ae821f4bc2283d736a635357aea89dc95a7c839 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-04-17Fix the irc channelCédric Ollivier1-1/+1
Change-Id: Idb446213274b7dfb03b0ee072717a35e03428609 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-04-04Merge "modify old naming testcase_base to testcase"Morgan Richomme1-214/+335
2017-03-31Adding label for userguideShubhamRathi1-0/+2
Change-Id: Iaab305c913173594ee2d857255b6492d15f15916 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-30modify old naming testcase_base to testcaseSerenaFeng1-214/+335
testcase_base is the old naming, now testcase is adopted Change-Id: Ic937da1fba16060d8a2ff1e6f3d1301be1293cd3 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-29Merge "rename feature_base to feature"Cedric Ollivier2-4/+4
2017-03-28rename feature_base to featureSerenaFeng2-4/+4
remove useless suffix _base Change-Id: I63a73fd6fef2fccd9b92c405f64dda50735b0026 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-28modify old naming Testcase_base to TestCaseSerenaFeng1-1/+1
Testcase_base is the first version, now TestCase is adopted Change-Id: If25eef0d8164220bd36f86fe636f7f1c0b247564 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-27Rename testcase_base to testcaseCédric Ollivier2-3/+3
It simply removes the useless suffix. Change-Id: Ib9a682b57d8f33518359d817a593bb3786577390 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-24Update documentation for DanubeMorgan Richomme7-590/+744
JIRA: FUNCTEST-559 JIRA: FUNCTEST-560 Change-Id: I2104a9b68bb3985c9f5900ebc30bab89b09b7835 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-14bug fix: remove reference to ovnoMorgan Richomme1-1/+0
ovno has no danube branch and is not used clean the ovno from functest to avoid side effect when producing danube functest docker file Change-Id: I5347111fc90a04ca9018679b5578ca30ae33b2f2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-07Merge "delete ft_constants and file functest_constants.py"Morgan Richomme2-2/+0
2017-03-07delete ft_constants and file functest_constants.pySerenaFeng2-2/+0
delete no longer used ft_constants in run_test.py substitute ft_constants with CONST in foundation.py and remove useless str() finally delete not-used file functest_constants.py Change-Id: I109a5409e501b610f41aae7d75c55ca745a3d4c1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-02Merge "Remove exec_test.sh"Jose Lausuch1-1/+0
2017-03-02unify TestAPI namingSerenaFeng2-33/+33
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>
2017-03-01Remove exec_test.shjose.lausuch1-1/+0
After the patch https://gerrit.opnfv.org/gerrit/#/c/29403/ all the test cases in functest have been adapted to the new framework using modules/classes. This patch removes the need for having the script exec_tests.sh which is not used any more by the framework. Change-Id: I7547c908d2eca60edf8c867db920c7da4f23d312 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-03-01Restructure docsjose.lausuch11-0/+4232
DOCS directory restructured according to: https://wiki.opnfv.org/display/DOC/Documentation+Guide Now: - release - release notes - testing - developer - dev guide (this is to be released on docs.opnfv.org) - internship (docs about intern projects) - user (this is to be released on docs.opnfv.org) - config guide - user guide Change-Id: I1851189601aac3c5989f19f99d779efe23dbf3d1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>