tree: da7b0d3b24df0cacc966a90e8ad4e2ddc9244865 [path history] [tgz]
  1. Dockerfile.k8s-api-tester
  2. Framework/
  3. MCORD-Tests/
  4. Properties/
  5. README.md
  6. Tests/
  7. setup_venv.sh
src/test/cord-api/README.md

CORD API TESTS

This module contains tests using XOS APIs. Testcases are written in RobotFramework utilizing some automated python library framework.

Prerequisites:

  • Robot Framework

Install Robot Framework:

     $ sudo pip install robotframework
     $ sudo pip install pygments
     $ sudo apt-get install python-wxgtk2.8
     $ sudo pip install robotframework-ride
  • To bring up IDE for the robot framework
   $ ride.py

Execute testcases:

  • Testcases can be run using ride.py IDE
  • Or From the command line
     $ cd cord-tester/src/test/cord-api/Tests
     $ pybot <testcase.txt>

Input Files for the testcases

  • Input files for the testcases are present in the "Tests/data" directory, a set of input files to run the testcases