Package TestON :: Package bin :: Module cli
[hide private]
[frames] | no frames]

Module cli

source code

Created on 20-Dec-2012


Author: Anil Kumar (anilkumar.s@paxterrasolutions.com)

TestON is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

TestON is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with TestON. If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  CLI
command-line interface to execute the test.
  TestThread
TestThread class will handle the test execution and will communicate with the thread in the do_run.
Functions [hide private]
 
output(msg)
Simply, print the message in console
source code
 
error(msg)
print the error message.
source code
 
dictToObj(dictionary)
This will facilitates the converting of the dictionary to the object.
source code
Variables [hide private]
  dump = pprint.PrettyPrinter(indent= 4)
  introduction = 'TestON is the testing framework \nDeveloped by...
  path = '/home/admin/OnosSystemTest/TestON/'
  __package__ = 'TestON.bin'
  config_path = '/home/admin/OnosSystemTest/TestON/config/'
  core_path = '/home/admin/OnosSystemTest/TestON/core'
  drivers_path = '/home/admin/OnosSystemTest/TestON/drivers/'
  location = '/home/admin/OnosSystemTest/TestON/core'
  logs_path = '/home/admin/OnosSystemTest/TestON/logs/'
  tests_path = '/home/admin/OnosSystemTest/TestON/tests'
Function Details [hide private]

dictToObj(dictionary)

source code 

This will facilitates the converting of the dictionary to the object. This method will help to send options as object format to the test.


Variables Details [hide private]

introduction

Value:
'''TestON is the testing framework 
Developed by Paxterra Solutions (www.paxterrasolutions.com)'''