Skip to content

jeremycline/pulp-automation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pulp-Automation

Some pulp API/CLI testing automation

Contents:

/deploy - thereis an ansible and ec2 pulp deployment

/tests - pulp api/cli testcases

/pulp_auto - our library

Requirements for running:

python ./setup.py install

Basic usage:

To run tests:

  1. copy the inventory.yml from the directory /tests into /pulp-automation and edit it. How to do it properly you can find info in the file itself.

  2. To run all tests:

    nosetests -vs

    To run a particular test:

    nosetests -vs tests/test_1_login.py

All testcases should pass. If something fails it means that:

  • there is a regression bug,
  • some bugs are on_qa state and expected failure decorator(used to mark automated BZ tests as pass) should be removed,
  • there is a problem in the framework

To do test coverage:

-place .coveragerc into /usr/share/pulp_auto

About

Some pulp testing automation

Resources

License

Stars

Watchers

Forks

Packages

No packages published