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

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 78ab53ac09ba2fa0e53764e59108e867e0957824
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Thu Apr 4 16:09:52 2024 +0200

    Documented:  Document possibility to run integration tests on a component
    (OFBIZ-12993)
    
    Tt's possible to run integration tests on a component. Better document it.
    Also slight improvements
---
 README.adoc | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/README.adoc b/README.adoc
index 20fb111e79..7973797d54 100644
--- a/README.adoc
+++ b/README.adoc
@@ -531,12 +531,12 @@ parameters are passed:
 
 // tag::testingtasks[]
 [[execute-all-unit-tests]]
-==== Execute all unit tests
+==== Execute all unit tests (no need access to the DB)
 
 `gradlew test`
 
 [[execute-all-integration-tests]]
-==== Execute all integration tests
+==== Execute all integration tests (need access to the DB)
 
 `gradlew testIntegration`
 
@@ -565,7 +565,7 @@ verbose:
 [[execute-an-integration-test-case]]
 ==== Execute an integration test case
 
-run a test case, in this example the component is "entity" and the case name is
+Run a test case, in this example the component is "entity" and the case name is
 "entity-tests"
 
 `gradlew "ofbiz --test component=entity --test suitename=entitytests --test 
case=entity-query-tests"`
@@ -573,7 +573,7 @@ run a test case, in this example the component is "entity" 
and the case name is
 [[execute-an-integration-test-case-in-debug-mode-with-verbose-log]]
 ==== Execute an integration test case in debug mode with verbose log
 
-listens on port *5005*
+Listens on port *5005*
 
 `gradlew "ofbiz --test component=entity --test loglevel=verbose" --debug-jvm`
 
@@ -585,10 +585,24 @@ listens on port *5005*
 [[execute-an-integration-test-suite-in-debug-mode]]
 ==== Execute an integration test suite in debug mode
 
-listens on port *5005*
+Listens on port *5005*
 
 `gradlew "ofbiz --test component=entity --test suitename=entitytests" 
--debug-jvm`
 
+[[execute-all-component-tests]]
+==== Execute all component tests
+
+`gradlew "ofbiz --test component=entity`
+
+[[execute-all-component-tests-in-debug-mode]]
+==== Execute all component tests in debug mode
+
+Listens on port *5005*
+
+`gradlew "ofbiz --test component=entity" --debug-jvm`
+
+
+
 // end::testingtasks[]
 
 

Reply via email to