Added code coverage outputs genereated by
coverage.py to .gitignore . To generate code
coverage report, run this command:
coverage run tests/runtests.py
To produce HTML coverage repot (`htmlcov/index.html`):
coverage html --omit=tests/*
To produce Cobertura compliant XML for Jenkins:
coverage xml --omit=tests/*
Add a config file for tox to enable running salt tests in a set of
virtualenvs for different versions of python. Add stanzas to allow
for running tests against 2.6, 2.7 and 3.2.
First step - pip install tox. Then, to run tests in a virtualenv
against all three, simply type:
tox
If you want to run against just one, try:
tox -epy26
And if you want to see more, do:
tox -v -epy26