You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2008/01/28 13:54:06 UTC

svn commit: r615865 - /incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml

Author: bdelacretaz
Date: Mon Jan 28 04:54:05 2008
New Revision: 615865

URL: http://svn.apache.org/viewvc?rev=615865&view=rev
Log:
SLING-149 - nullLaunchpadProfile trick removed, see comment in pom for how to run integration tests against a running Sling instance

Modified:
    incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml

Modified: incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml?rev=615865&r1=615864&r2=615865&view=diff
==============================================================================
--- incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml (original)
+++ incubator/sling/trunk/launchpad/launchpad-webapp/pom.xml Mon Jan 28 04:54:05 2008
@@ -210,11 +210,6 @@
     <profile>
       <!--
         Run the cargo-based integration tests.
-        This profile is active by default, to deactivate it activate another
-        one, for example " mvn -P nullLaunchpadProfile".
-        
-        TODO there must be a way to control this with "mvn.test.skip", but I haven't
-        found it. 
       -->
       <id>cargoIntegrationTesting</id>
       <activation>
@@ -302,10 +297,16 @@
     <profile>
       <!--
         By default, do not run the integration tests in the test phase, as they have
-        no microsling to talk to.
-        To debug the integration tests faster than with the normal build cycle,
-        deactivate this profile (using -P nullLaunchpadProfile for example) and run a
-        separate instance of microsling that the tests can talk to.
+        no Sling instance to talk to.
+        
+        To run integration tests against a running instance of Sling (useful to quickly
+        run some of them) use for example:
+        
+           mvn test -Dtest=**/integrationtest/**Test.java
+           
+        or
+        
+           mvn test -Dtest=IncludeTest   
       -->
       <id>disableIntegrationTestsInTestPhase</id>
       <activation>
@@ -326,13 +327,6 @@
           </plugin>
         </plugins>
       </build>
-    </profile>
-    <profile>
-      <!-- 
-        Useful to deactivate other profiles from the command-line
-        Is there a better way? mvn doesn't have a "deactivate profile" option. 
-      -->
-      <id>nullLaunchpadProfile</id>
     </profile>
   </profiles>