From: Archana Singh <archus(a)linux.vnet.ibm.com>
Patch for adding FVT testcases wok framework which can be used across plugins.
The changes are:
1) Added fvt package inside tests directory.
2) Added config file inside fvt package to have session details.
3) restapilib.py to have common classes/methods for REST API calls.
4) fvt_base.py, a base test class to take care of doing
common setup and treadown required for any fvt test cases like
creating/destroying session using config file and restapilib.py.
5) run_test.sh.in script to install all the dependencies and to run all FVT.
6) make file changes to have 'make check-fvt' for running all the FVT.
7) Instruction added in REDME.md for make check-fvt.
8) Added tests/fvt/config into IBM license blacklist.
Archana Singh (12):
FVT: Package for functional verification testcases.
FVT: Wok level config file to have 'sectionsi required for fvt common
across plugins.
FVT: Lists all dependecies for fvt testcases.
FVT: Common classes/methods for API calls as per config file
configuration.
FVT: Base test class, takes care common actions required for any FVT
test cases.
FVT: Install all the dependencies from requirements.txt and runs FVT
testcases
FVT: Makefile needed for build and run fvt.
FVT: Added fvt as subdirs and check-fvt to run fvt testcases using
make.
FVT: Added FVT Makefile path in AC_CONFIG_FILES list.
FVT: Added check-fvt to run FVT testcases using make and venv dir to
be cleaned.
FVT: Added Readme instruction for running fvt testcases.
Added tests/fvt/config file into backlist.
IBM-license-blacklist | 1 +
Makefile.am | 6 +
configure.ac | 1 +
docs/README.md | 8 +
tests/Makefile.am | 7 +
tests/fvt/Makefile.am | 43 +++
tests/fvt/__init__.py | 18 ++
tests/fvt/config | 7 +
tests/fvt/fvt_base.py | 92 ++++++
tests/fvt/requirements.txt | 23 ++
tests/fvt/restapilib.py | 738 +++++++++++++++++++++++++++++++++++++++++++++
tests/fvt/run_tests.sh.in | 92 ++++++
12 files changed, 1036 insertions(+)
create mode 100644 tests/fvt/Makefile.am
create mode 100644 tests/fvt/__init__.py
create mode 100644 tests/fvt/config
create mode 100644 tests/fvt/fvt_base.py
create mode 100644 tests/fvt/requirements.txt
create mode 100644 tests/fvt/restapilib.py
create mode 100755 tests/fvt/run_tests.sh.in
--
2.5.0