[Kimchi-devel] [PATCH][Wok 00/11] FVT testcases wok framework

archus at linux.vnet.ibm.com archus at linux.vnet.ibm.com
Wed May 25 11:14:07 UTC 2016


From: Archana Singh <archus at 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.

Archana Singh (11):
  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.

 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    | 760 +++++++++++++++++++++++++++++++++++++++++++++
 tests/fvt/run_tests.sh.in  |  92 ++++++
 11 files changed, 1057 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




More information about the Kimchi-devel mailing list