This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 10090efca documenting new instructions for running tests with a 
specific DB
10090efca is described below

commit 10090efca1d2f07f1070984bb89eedb3551d2bd1
Author: Andrus Adamchik <[email protected]>
AuthorDate: Sun May 17 10:07:26 2026 -0400

    documenting new instructions for running tests with a specific DB
---
 src/main/site/content/dev/running-unit-tests.md | 39 ++++++++++---------------
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/src/main/site/content/dev/running-unit-tests.md 
b/src/main/site/content/dev/running-unit-tests.md
index e31c4306d..71a5be2ae 100644
--- a/src/main/site/content/dev/running-unit-tests.md
+++ b/src/main/site/content/dev/running-unit-tests.md
@@ -10,39 +10,30 @@ prerequisites](/dev/building-cayenne.html)
     
 ## Running Against a Test Database
 
-The *cayenneTestConnection* property selects the database backend for tests. 
By default it is *hsql*, so it can be omitted:
-    
-```
-$ mvn verify
-```
-
-
-The following are in-memory database backends and can be executed without 
additional setup:
-
-* hsql
-* h2
-* derby
-* sqlite
+The *cayenneTestConnection* property selects the database backend for tests. 
The following are in-memory database backends and can be executed without 
additional setup:
 
 ```
-$ mvn verify -DcayenneTestConnection=derby
-```
+# "hsql" is the default, and can be omitted
+# mvn verify -DcayenneTestConnection=hsql
+mvn verify
 
-Cayenne also has preconfigured backends that it starts on Docker (so Docker 
must be installed and running) :
+mvn verify -DcayenneTestConnection=h2
+mvn verify -DcayenneTestConnection=derby
+mvn verify -DcayenneTestConnection=sqlite
+```
 
-* mysql
-* mariadb
-* postgres
-* sqlserver
-* oracle
-* db2
+Cayenne also has a few preconfigured backends that it starts on Docker (so 
Docker must be installed and running) :
 
 ```
 $ mvn verify -DcayenneTestConnection=mysql
+$ mvn verify -DcayenneTestConnection=mariadb
+$ mvn verify -DcayenneTestConnection=postgres
+$ mvn verify -DcayenneTestConnection=sqlserver
+$ mvn verify -DcayenneTestConnection=oracle
+$ mvn verify -DcayenneTestConnection=db2
 ```
 
-You can override the default Docker image tag for Testcontainers-backed
-databases with *cayenneTestDbVersion*:
+You can override the default Docker image tag for Testcontainers-backed 
databases with *cayenneTestDbVersion*:
 
 ```
 $ mvn verify -DcayenneTestConnection=mysql -DcayenneTestDbVersion=8.4

Reply via email to