Skip to content

Robottelo is a test suite that exercises The Foreman.

License

Notifications You must be signed in to change notification settings

shweta83/robottelo

Repository files navigation

Robottelo

This is an automation test suite for the Katello project.

My goal is to design a keyword, data driven suite that can be used in a continuous integration environment.

Quickstart

This page gives you a good introduction in how to get started with Robottelo.

Requirements:

If you haven't cloned the source code yet, then make sure to do it now:

git clone git://github.com/omaciel/robottelo.git

Then, run sudo pip install -r ./requirements.txt from the root of the project to have all dependencies automatically installed.

Running the test

Single tests can be invoked by using the included robottelo_runner script:

python robottelo_runner.py --driver firefox --host www.example.com --project katello --tests tests.ui.test_Login

Multiple tests can also be invoked:

python robottelo_runner.py --driver firefox --host  www.example.com --project katello --tests tests.ui.test_Login --tests tests.ui.test_Organization

Running individual tests from a test suite from the command line:

python robottelo_runner.py --driver firefox --host  www.example.com --project katello --tests tests.ui.test_Login.test_successful_login

You can also run tests directly using either unittest or nosetests provided you pass all the expected arguments:

KATELLO_HOST=www.example.com PROJECT=katello DRIVER=firefox python -m unittest tests.ui.test_Login.test_successful_login

or

KATELLO_HOST=www.example.com PROJECT=katello DRIVER=firefox nosetests tests.ui.test_Login.test_successful_login

Known Issues

Author

This software is developed by: Og Maciel.

About

Robottelo is a test suite that exercises The Foreman.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%