tree: a5c9e710024dd0f367d1d6d9dcc7fa7a524d6eb2 [path history] [tgz]
  1. Framework/
  2. Properties/
  3. README.md
  4. Tests/
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