summaryrefslogtreecommitdiff
path: root/java/build.xml
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2009-11-11 03:28:39 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2009-11-11 03:28:39 +0000
commitaeec92612398e5d55f42168d54bd0d80a49a134e (patch)
tree402700c6e760d19650d56075fc6a6274d24dc146 /java/build.xml
parentccc54f3eccfef128ad50a02bbcc56d5bc866d079 (diff)
downloadqpid-python-aeec92612398e5d55f42168d54bd0d80a49a134e.tar.gz
testkit.py provides the plumbing for running longer duration tests using the multi-broker framework defined in brokertest.py
For the time being testkit is carrying it's own copy of brokertest.py. The goal is to use the one available under the /python folder asap. Testkit is intended run as, 1) an ant target via "ant testkit" (to allow automated testing) 2) standalone against a release If running standalone you need to have the qpid/python files in the python path and $QP_CP should be set to the classpath that contains the qpid jars.Assuming $PYTHON_DIR points to the python folder you could run it as follows. $PYTHON_DIR/qpid-python-test -m testkit The ant target is currently not operational as there seems to be a few issues when running under jython. Tests ========= Currently only 3 tests are added. 1. test_multiplexing_con 2. test_multiplexing_con_tx 3. test_failover All tests are using the generic Sender and Receiver via the TestLauncher checked under the testkit module. Currently there are occasional test failures for test_multiplexing_con_tx The 'test_failover' test is currently failing due to a known bug. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834754 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/build.xml')
-rw-r--r--java/build.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/build.xml b/java/build.xml
index f40da460b0..440cdf21a3 100644
--- a/java/build.xml
+++ b/java/build.xml
@@ -233,4 +233,13 @@
</exec>
</target>
+ <target name="testkit" depends="build,compile-tests">
+ <jython path="${mllib.dir}">
+ <args>
+ <arg value="${mllib.dir}/qpid-python-test"/>
+ <arg value="-m ${basedir}/testkit/testkit"/>
+ </args>
+ </jython>
+ </target>
+
</project>