Skip to content
Permalink
Browse files
Add testing instructions to README
  • Loading branch information
brogand93 committed Jun 3, 2014
1 parent 55f75c1 commit 66e3fb5a2960adcdb3cc7cdee29219e1d432ea5c
Showing 1 changed file with 37 additions and 0 deletions.
@@ -131,6 +131,43 @@ name status next-maintenance
Sandbox-simulator UP None scheduled
================== ======== ====================

Running The Tests
##################

To run the included tests the following software is required:

pep8

pylint

nose

mock

coverage

These can be installed via the Python Package Index:

pip install pep8 pylint nose mock coverage

Tests can be executed from the root of the code base as follows:

Style Check
___________

pep8 --ignore=E501 *.py gstack
Lint
____

pylint --rcfile=pylint.rc *.py gstack
Unit Tests
___________

nosetests --with-coverage --cover-erase --cover-package=gstack --cover-html

A HTML base coverage report will be placed in ./cover

Trouble shooting
#################

0 comments on commit 66e3fb5

Please sign in to comment.