Author: wsmoak Date: Fri Feb 13 16:51:44 2009 New Revision: 744174 URL: http://svn.apache.org/viewvc?rev=744174&view=rev Log: [CONTINUUM-2073] Add pom-it.xml to work with the code in src/test/it and start Tomcat using the Cargo plugin with support for multiple data sources. Added: continuum/trunk/continuum-webapp-test/pom-it.xml - copied, changed from r743581, continuum/trunk/continuum-webapp-test/pom.xml Modified: continuum/trunk/continuum-webapp-test/Readme.txt Modified: continuum/trunk/continuum-webapp-test/Readme.txt URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/Readme.txt?rev=744174&r1=744173&r2=744174&view=diff ============================================================================== --- continuum/trunk/continuum-webapp-test/Readme.txt (original) +++ continuum/trunk/continuum-webapp-test/Readme.txt Fri Feb 13 16:51:44 2009 @@ -11,6 +11,15 @@ * modify src/test/resources/it.properties as needed * mvn clean install +Run Selenium tests in src/test/it with Maven + * modify src/test/resources/it.properties as needed + * mvn clean install -f pom-it.xml + +Run Selenium teests in src/test/pom2 with Maven + * set TOMCAT_HOME environment variable to location of Tomcat 5.5.x installation + * modify src/test/resources/it.properties as needed + * mvn clean install -f pom2.xml + ======= OLD INSTRUCTIONS FOR src/test/it BELOW ======= Test Continuum with Tomcat 5.x and firefox Copied: continuum/trunk/continuum-webapp-test/pom-it.xml (from r743581, continuum/trunk/continuum-webapp-test/pom.xml) URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/pom-it.xml?p2=continuum/trunk/continuum-webapp-test/pom-it.xml&p1=continuum/trunk/continuum-webapp-test/pom.xml&r1=743581&r2=744174&rev=744174&view=diff ============================================================================== --- continuum/trunk/continuum-webapp-test/pom.xml (original) +++ continuum/trunk/continuum-webapp-test/pom-it.xml Fri Feb 13 16:51:44 2009 @@ -29,7 +29,7 @@ pom - + src/test/it org.apache.maven.plugins @@ -72,6 +72,107 @@ + + + org.codehaus.cargo + cargo-maven2-plugin + 1.0-SNAPSHOT + + + start-container + pre-integration-test + + start + + + false + + + + stop-container + post-integration-test + + stop + + + + + + ${container.name} + + ${container.url} + ${project.build.directory}/installs/${container.name} + + ${project.build.directory}/logs/${container.name}.log + ${project.build.directory}/logs/${container.name}.out + 600000 + + ${project.build.directory} + + + + org.apache.derby + derby + + + javax.mail + mail + + + javax.activation + activation + + + + + ${project.build.directory}/${container.name} + standalone + + 9595 + + + + jdbc/users + javax.sql.DataSource + + org.apache.derby.jdbc.EmbeddedDataSource + jdbc:derby:${project.build.directory}/databases/${container.name}/users;create=true + sa + + + + + jdbc/continuum + javax.sql.DataSource + + org.apache.derby.jdbc.EmbeddedDataSource + jdbc:derby:${project.build.directory}/databases/${container.name}/data/builds;create=true + sa + + + + + mail/Session + javax.mail.Session + + localhost + + + + + + ${project.goupId} + continuum-webapp + war + + continuum + + + + + + + org.apache.maven.plugins maven-surefire-plugin @@ -105,18 +206,80 @@ 0.8.1 test - - + org.codehaus.plexus plexus-utils 1.4 + test org.openqa.selenium.server selenium-server 0.8.1 + test + + + + + org.apache.continuum + continuum-webapp + ${project.version} + war + + + + + org.apache.derby + derby + 10.1.3.1 + + + javax.mail + mail + 1.4 + + + javax.activation + activation + 1.1 + + + + tomcat5x + + true + + + tomcat5x + http://apache.mirrors.redwire.net/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip + + + + firefox + + true + + + *firefox + + + + iexplore + + *iexplore + + + + otherbrowser + + *custom ${browserPath} + + + + +