Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Welcome to TestON tutorial!

Overview

Test on TestON runs on Linux platform. TestON requires a proper onos ONOS installation in order to work, see ONOS tutorialTutorial for more information.

By completing this tutorial, you will understand how to:

  • Install TestON.
  • Create appropriate files to run test on TestON.
  • Create and run TestON script.
  • Create a TestON driver.

NOTE: If you are having trouble  on trouble running TestON, visit TestON FAQs or visit git hub wiki for additional information, or email us if you're stuck.

Configuring Linux to run TestON

...

  1. A Linux 2.6.26 or greater kernel compiled with network namespace support enabled (see INSTALL for additional information.)
  2. python Python 2.6 or higher versions.

Install python package configObj using:

Code Block
$ sudo pip install configObj

Prerequisites:

Installation

Clone the TestON from https://gerrit.onosproject.org/OnosSystemTest: 

Code Block
git clone https://gerrit.onosproject.org/OnosSystemTest

Run the install.sh script:

Code Block
cd OnosSystemTest/TestON/
./install.sh


Having installation problem? visit TestON FAQ for more information.

Exploring further

Now that you finish installing TestON, you can now create your test cases. Find out how you can create your own tests in test files section of the tutorial.

Stuck? Found a bug? Questions?

Email Email us if if you’re stuck, think you’ve found a bug, or just want to send some feedback. Please have a look at the the guidelines to to learn how to efficiently submit a bug report.

Installation

Clone the TestON from https://github.com/OPENNETWORKINGLAB/ONLabTest.git

Please configure mail server details before going to start working with TestON

  • Open core/utilities.py file inside TestON Framework
  • Check def send_mail(self) and configure the mail server and your credentials as mention below:

...

.

...