summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2013-07-14 19:29:33 +0200
committerAntoine Musso <hashar@free.fr>2013-07-19 14:31:11 +0200
commitb829874916287022fe9dc8423e458c51e1b6a797 (patch)
tree824aabdba7eed343bc181abbdd44c76466663a73 /tools
parent98bcaefbd4498b6acba48dca9b44c5ef6f781bb7 (diff)
downloadpython-jenkins-job-builder-b829874916287022fe9dc8423e458c51e1b6a797.tar.gz
python-jenkins-job-builder-b829874916287022fe9dc8423e458c51e1b6a797.tar.xz
python-jenkins-job-builder-b829874916287022fe9dc8423e458c51e1b6a797.zip
Tests for publishers
I am trying to build up a very basic testing framework so we can tests our publishers. The idea is to provide a YAML input file and expected XML output, run the parser on the YAML file and compares its output with the fixture XML. That test suite should speed up development of new publishers. TestCaseModulePublisher is declared inside a function so that unittest discovery does not consider it a usable test directly. load_test is responsible for instantiating the test suite. Change-Id: If3260113eb1337ac47c3883b11c600e5a595dae3 [fabre.arnaud@gmail.com: fixed some runtime errors] Signed-off-by: Arnaud Fabre <fabre.arnaud@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/test-requires5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/test-requires b/tools/test-requires
index 5a74ecc7..cca00c0d 100644
--- a/tools/test-requires
+++ b/tools/test-requires
@@ -1,2 +1,7 @@
+discover
+fixtures
+python-subunit
sphinx
setuptools_git>=0.4
+testtools
+testrepository