Added system tests.
authorKirill Spitsin <tn@0x746e.org.ua>
Mon, 27 May 2013 07:25:55 +0000 (10:25 +0300)
committerKirill Spitsin <tn@0x746e.org.ua>
Mon, 27 May 2013 08:22:58 +0000 (11:22 +0300)
commit54d64b6125521e18f34355e97b160d23b6938c8f
treececab571cde9f1ba4d21c7c792156a259fec60f3
parent2072358228c79fee515d1fdf3119a82b90b1d273
Added system tests.

They also can be called acceptance or functional tests.  I have always
found testing terminology somewhat entangled :)

These test are running against an instance of real jenkins, which is
launched in the beginning of the test suite and terminated in the end.
jenkins.war file is automatically downloaded in case it isn't already
present in jenkinsapi_tests/systests directory.

There are just few tests for now.  This commit is more like a
demonstration of the concept.

Nose (pip install nose) is needed for running the tests.  After
installing it tests can be run with 'nosetests' command from top-level
project directory.
.gitignore
jenkinsapi_tests/systests/__init__.py [new file with mode: 0644]
jenkinsapi_tests/systests/base.py [new file with mode: 0644]
jenkinsapi_tests/systests/get-jenkins-war.sh [new file with mode: 0755]
jenkinsapi_tests/systests/test_jenkins.py [new file with mode: 0644]