You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2017/02/20 12:53:38 UTC

svn commit: r1783753 - /cayenne/site/cms/trunk/content/dev/running-unit-tests.mdtext

Author: ntimofeev
Date: Mon Feb 20 12:53:37 2017
New Revision: 1783753

URL: http://svn.apache.org/viewvc?rev=1783753&view=rev
Log:
mvn verify instead of mvn test

Modified:
    cayenne/site/cms/trunk/content/dev/running-unit-tests.mdtext

Modified: cayenne/site/cms/trunk/content/dev/running-unit-tests.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/dev/running-unit-tests.mdtext?rev=1783753&r1=1783752&r2=1783753&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/dev/running-unit-tests.mdtext (original)
+++ cayenne/site/cms/trunk/content/dev/running-unit-tests.mdtext Mon Feb 20 12:53:37 2017
@@ -34,7 +34,7 @@ following databases that support in-memo
 For this databases you can run tests without any additional configuration by only specifying
 *cayenneTestConnection* property that will activate required Maven profile:
  
-    $ mvn test -DcayenneTestConnection=derby    
+    $ mvn verify -DcayenneTestConnection=derby    
     
 ### Running Against Database in Docker (only on Linux)
 
@@ -43,10 +43,10 @@ The only thing you need is to install Do
 
 You can run tests with following *cayenneTestConnection* properties:
  
-    $ mvn test -DcayenneTestConnection=mysql-docker
+    $ mvn verify -DcayenneTestConnection=mysql-docker
 or
     
-    $ mvn test -DcayenneTestConnection=postgres-docker    
+    $ mvn verify -DcayenneTestConnection=postgres-docker    
     
 ### Running Against a Specific Database
 
@@ -90,7 +90,7 @@ Database type and connection information
 command line or via a configuration file. First let's look at the command
 line options:
     
-    $ mvn test -DcayenneTestConnection=<profile_name> \
+    $ mvn verify -DcayenneTestConnection=<profile_name> \
        -DcayenneAdapter=org.apache.cayenne.dba.mysql.MySQLAdapter \
        -DcayenneJdbcUsername=myuser \
        -DcayenneJdbcPassword=mypassword \
@@ -147,4 +147,4 @@ Each property starts with the Maven prof
 the example above). Note that in this case you should still use
 *cayenneTestConnection*. E.g.:
     
-    $ mvn test -DcayenneTestConnection=mysql
\ No newline at end of file
+    $ mvn verify -DcayenneTestConnection=mysql
\ No newline at end of file