Skip to content

Instantly share code, notes, and snippets.

@msabramo
Created April 8, 2014 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msabramo/10206466 to your computer and use it in GitHub Desktop.
Save msabramo/10206466 to your computer and use it in GitHub Desktop.
python-jenkins 100% test coverage!
vagrant@ubuntu:~/dev/bzr-repos/python-jenkins/python3$ tox
GLOB sdist-make: /home/vagrant/dev/bzr-repos/python-jenkins/python3/setup.py
py26 inst-nodeps: /home/vagrant/dev/bzr-repos/python-jenkins/python3/.tox/dist/python-jenkins-0.2.1.zip
py26 runtests: commands[0] | py.test --cov=jenkins --cov-report=xml --cov-report=term-missing tests
============================================================================= test session starts ==============================================================================
platform linux2 -- Python 2.6.9 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 58 items
tests/test_jenkins.py ..........................................................
--------------------------------------------------------------- coverage: platform linux2, python 2.6.9-final-0 ----------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 0 100%
Coverage XML written to file coverage.xml
========================================================================== 58 passed in 0.28 seconds ===========================================================================
py27 inst-nodeps: /home/vagrant/dev/bzr-repos/python-jenkins/python3/.tox/dist/python-jenkins-0.2.1.zip
py27 runtests: commands[0] | py.test --cov=jenkins --cov-report=xml --cov-report=term-missing tests
============================================================================= test session starts ==============================================================================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 58 items
tests/test_jenkins.py ..........................................................
--------------------------------------------------------------- coverage: platform linux2, python 2.7.3-final-0 ----------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 0 100%
Coverage XML written to file coverage.xml
========================================================================== 58 passed in 0.21 seconds ===========================================================================
pypy inst-nodeps: /home/vagrant/dev/bzr-repos/python-jenkins/python3/.tox/dist/python-jenkins-0.2.1.zip
pypy runtests: commands[0] | py.test --cov=jenkins --cov-report=xml --cov-report=term-missing tests
============================================================================= test session starts ==============================================================================
platform linux2 -- Python 2.7.2[pypy-1.8.0-final] -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 58 items
tests/test_jenkins.py ..........................................................
--------------------------------------------------------------- coverage: platform linux2, python 2.7.2-final-42 ---------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 0 100%
Coverage XML written to file coverage.xml
========================================================================== 58 passed in 2.60 seconds ===========================================================================
py33 inst-nodeps: /home/vagrant/dev/bzr-repos/python-jenkins/python3/.tox/dist/python-jenkins-0.2.1.zip
py33 runtests: commands[0] | py.test --cov=jenkins --cov-report=xml --cov-report=term-missing tests
============================================================================= test session starts ==============================================================================
platform linux -- Python 3.3.5 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 58 items
tests/test_jenkins.py ..........................................................
---------------------------------------------------------------- coverage: platform linux, python 3.3.5-final-0 ----------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 0 100%
Coverage XML written to file coverage.xml
========================================================================== 58 passed in 0.32 seconds ===========================================================================
py34 inst-nodeps: /home/vagrant/dev/bzr-repos/python-jenkins/python3/.tox/dist/python-jenkins-0.2.1.zip
py34 runtests: commands[0] | py.test --cov=jenkins --cov-report=xml --cov-report=term-missing tests
============================================================================= test session starts ==============================================================================
platform linux -- Python 3.4.0 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 58 items
tests/test_jenkins.py ..........................................................
---------------------------------------------------------------- coverage: platform linux, python 3.4.0-final-0 ----------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 0 100%
Coverage XML written to file coverage.xml
========================================================================== 58 passed in 0.33 seconds ===========================================================================
___________________________________________________________________________________ summary ____________________________________________________________________________________
py26: commands succeeded
py27: commands succeeded
pypy: commands succeeded
py33: commands succeeded
py34: commands succeeded
congratulations :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment