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