You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ws...@apache.org on 2009/04/30 03:11:18 UTC

svn commit: r770027 - in /continuum/trunk/continuum-webapp-test: Readme.txt junit-pom.xml pom.xml testng-pom.xml

Author: wsmoak
Date: Thu Apr 30 01:11:18 2009
New Revision: 770027

URL: http://svn.apache.org/viewvc?rev=770027&view=rev
Log:
[CONTINUUM-2073] Make TestNG the main build, leave secondary pom for old JUnit tests.

Added:
    continuum/trunk/continuum-webapp-test/junit-pom.xml
      - copied unchanged from r769984, continuum/trunk/continuum-webapp-test/pom.xml
    continuum/trunk/continuum-webapp-test/pom.xml
      - copied unchanged from r769899, continuum/trunk/continuum-webapp-test/testng-pom.xml
Removed:
    continuum/trunk/continuum-webapp-test/testng-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=770027&r1=770026&r2=770027&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/Readme.txt (original)
+++ continuum/trunk/continuum-webapp-test/Readme.txt Thu Apr 30 01:11:18 2009
@@ -6,27 +6,27 @@
  * in Selenium IDE, modify the Base URL if necessary (for example, http://localhost:8080/continuum)
  * in Selenium IDE, click the 'Play entire test suite' icon
 
+Run Selenium tests in src/test/testNG with Maven, TestNG and Cargo
+ * Start Continuum
+ * modify src/test/resources/testng.properties as needed
+ * mvn clean install
+
 Run Selenium tests in src/test/it with Maven, JUnit and Cargo
  * modify src/test/resources/it.properties as needed
- * mvn clean install
+ * mvn clean install -f junit-pom.xml
 
 Run Selenium tests in src/test/java with Maven and JUnit
  * modify src/test/resources/it.properties as needed
  * edit pom.xml and remove <testSourceDirectory>
  * for snapshot version of selenium(1.0-beta-SNAPSHOT), modify settings.xml/pom.xml to point to this repository http://nexus.openqa.org/content/repositories/snapshots 
- * mvn clean install
+ * mvn clean install -f junit-pom.xml
 
 Run Selenium tests against an existing Continuum instance
   * modify src/test/resources/it.properties as needed
-  * mvn clean install -Dexisting-container
+  * mvn clean install -f junit-pom.xml -Dexisting-container
 
   (This skips the Cargo plugin configuration that starts a container with the Continuum webapp deployed)
 
-Run Selenium tests in src/test/testNG with Maven and testNG
- * Start Continuum
- * modify src/test/resources/testng.properties as needed
- * mvn clean install -f testng-pom.xml
-
  Note that this does not install anything, it simply runs through the lifecycle including the integration test phases.
  More properly it would be 'mvn clean post-integration-test', but install is much shorter to type. :)