[Kimchi-devel] [PATCH 00/10] FVT testcases base framework

archus at linux.vnet.ibm.com archus at linux.vnet.ibm.com
Wed Nov 25 05:16:01 UTC 2015


From: Archana Singh <archus at linux.vnet.ibm.com>

Patch for adding FVT testcases base 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.

Archana Singh (10):
  Package for functional verification testcases
  Wok level config file to have sections required     for functional
    verification test common across     plugins.
  Lists all dependecies for fvt testcases.
  Common classes/methods for API calls as per config file    
    configuration.
  Base test class, takes care common actions required     for any FVT
    test cases like creating/destoring session,     authorization using
    wok level fvt config file,     creating JSON validator and logging.
  Install all the dependencies from requirements.txt     in python
    virtualenv and runs all the FVT test cases.
  Makefile needed for build and run fvt.
  Added fvt as subdirs and check-fvt     to run fvt testcases using
    make.
  Added FVT Makefile in AC_CONFIG_FILES list.
  Added check-fvt to run FVT testcases using make     and venv dir to be
    cleaned.

 Makefile.am                |   8 +-
 configure.ac               |   1 +
 tests/Makefile.am          |   6 +
 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 ++++++
 10 files changed, 1048 insertions(+), 2 deletions(-)
 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.1.0




More information about the Kimchi-devel mailing list