summaryrefslogtreecommitdiff
path: root/qpid/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
commit498dc3ee20a27346b8709b5c891f163f5d5c66a6 (patch)
tree32c29e29cecb308501543d9c731784fc8ac8bf04 /qpid/java/build.xml
parent6a462465158c171096552b326b1825631dd0bc02 (diff)
downloadqpid-python-498dc3ee20a27346b8709b5c891f163f5d5c66a6.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@834754 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/build.xml')
-rw-r--r--qpid/java/build.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/qpid/java/build.xml b/qpid/java/build.xml
index f40da460b0..440cdf21a3 100644
--- a/qpid/java/build.xml
+++ b/qpid/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>