Skip to content

Instantly share code, notes, and snippets.

@msabramo
Created April 8, 2014 21:11
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/10193094 to your computer and use it in GitHub Desktop.
Save msabramo/10193094 to your computer and use it in GitHub Desktop.
python-jenkins tox results and 98% test coverage including Python 3!
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 56 items
tests/test_jenkins.py ........................................................
------------------------------------------------------------------------------------------------------------------------------------- coverage: platform linux2, python 2.6.9-final-0 --------------------------------------------------------------------------------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 4 98% 184, 189, 247, 436
Coverage XML written to file coverage.xml
================================================================================================================================================ 56 passed in 0.25 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 56 items
tests/test_jenkins.py ........................................................
------------------------------------------------------------------------------------------------------------------------------------- coverage: platform linux2, python 2.7.3-final-0 --------------------------------------------------------------------------------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 4 98% 184, 189, 247, 436
Coverage XML written to file coverage.xml
================================================================================================================================================ 56 passed in 0.24 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 56 items
tests/test_jenkins.py ........................................................
------------------------------------------------------------------------------------------------------------------------------------- coverage: platform linux2, python 2.7.2-final-42 -------------------------------------------------------------------------------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 4 98% 184, 189, 247, 436
Coverage XML written to file coverage.xml
================================================================================================================================================ 56 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 56 items
tests/test_jenkins.py ........................................................
-------------------------------------------------------------------------------------------------------------------------------------- coverage: platform linux, python 3.3.5-final-0 --------------------------------------------------------------------------------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 4 98% 184, 189, 247, 436
Coverage XML written to file coverage.xml
================================================================================================================================================ 56 passed in 0.34 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 56 items
tests/test_jenkins.py ........................................................
-------------------------------------------------------------------------------------------------------------------------------------- coverage: platform linux, python 3.4.0-final-0 --------------------------------------------------------------------------------------------------------------------------------------
Name Stmts Miss Cover Missing
------------------------------------------------
jenkins/__init__ 221 4 98% 184, 189, 247, 436
Coverage XML written to file coverage.xml
================================================================================================================================================ 56 passed in 0.36 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