summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRupert Smith <rupertlssmith@apache.org>2007-11-26 14:28:46 +0000
committerRupert Smith <rupertlssmith@apache.org>2007-11-26 14:28:46 +0000
commitc7ae06e49f2376853c0e77afefa0a59a7c9612ea (patch)
treefefc887bc1de3857991341d224dfee94b50fffe5
parentb9c951723fe5081ea2611e7c04ee8d2df6a03205 (diff)
downloadqpid-python-c7ae06e49f2376853c0e77afefa0a59a7c9612ea.tar.gz
Added tk test runner invocation to run framework tests on every build.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@598287 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/systests/pom.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/java/systests/pom.xml b/java/systests/pom.xml
index 8f963d9b91..dc462e3925 100644
--- a/java/systests/pom.xml
+++ b/java/systests/pom.xml
@@ -90,6 +90,53 @@
</configuration>
</plugin>
+ <!-- Runs the framework based tests against an in-vm broker. -->
+ <plugin>
+ <groupId>uk.co.thebadgerset</groupId>
+ <artifactId>junit-toolkit-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>framework_tests</id>
+ <phase>test</phase>
+
+ <configuration>
+ <systemproperties>
+ <property>
+ <name>log4j.configuration</name>
+ <value>${log4j.configuration}</value>
+ </property>
+ </systemproperties>
+
+ <testrunner>uk.co.thebadgerset.junit.extensions.TKTestRunner</testrunner>
+
+ <testrunneroptions>
+ <option>-X:decorators "org.apache.qpid.test.framework.qpid.InVMBrokerDecorator:org.apache.qpid.test.framework.qpid.AMQPFeatureDecorator"</option>
+ <option>-o</option>
+ <option>--csv</option>
+ </testrunneroptions>
+
+ <testrunnerproperties>
+ <property>
+ <name>notApplicableAssertion</name>
+ <value>warn</value>
+ </property>
+ </testrunnerproperties>
+
+ <commands>
+ <Immediate-Message-Test>-n Immediate-Test -s[1] org.apache.qpid.test.testcases.ImmediateMessageTest</Immediate-Message-Test>
+ <Mandatory-Message-Test>-n Mandatory-Test -s[1] org.apache.qpid.test.testcases.MandatoryMessageTest</Mandatory-Message-Test>
+ <Rollback-Test>-n Rollback-Test -s[1] org.apache.qpid.test.testcases.RollbackTest</Rollback-Test>
+ </commands>
+
+ </configuration>
+
+ <goals>
+ <goal>tktest</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
<!-- Include source files in built jar -->