You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ru...@apache.org on 2007/11/26 15:28:48 UTC

svn commit: r598287 - /incubator/qpid/branches/M2.1/java/systests/pom.xml

Author: rupertlssmith
Date: Mon Nov 26 06:28:46 2007
New Revision: 598287

URL: http://svn.apache.org/viewvc?rev=598287&view=rev
Log:
Added tk test runner invocation to run framework tests on every build.

Modified:
    incubator/qpid/branches/M2.1/java/systests/pom.xml

Modified: incubator/qpid/branches/M2.1/java/systests/pom.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/M2.1/java/systests/pom.xml?rev=598287&r1=598286&r2=598287&view=diff
==============================================================================
--- incubator/qpid/branches/M2.1/java/systests/pom.xml (original)
+++ incubator/qpid/branches/M2.1/java/systests/pom.xml Mon Nov 26 06:28:46 2007
@@ -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 -->