This is an automated email from the ASF dual-hosted git repository.
ashishvijaywargiya pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 8e055e9458 Fix broken README include in unit-tests.adoc (#1602)
8e055e9458 is described below
commit 8e055e94585c5f6fa103437f7a163d3c778907f1
Author: Ashish Vijaywargiya <[email protected]>
AuthorDate: Sat Aug 8 11:29:30 2026 +0530
Fix broken README include in unit-tests.adoc (#1602)
The testing-tasks section in
`framework/testtools/src/docs/asciidoc/unit-tests.adoc` was included
from `README.adoc`, which no longer exists (renamed to `README.md` at
some point) - the include silently failed to resolve.
Also switches `README.md`'s tag markers around that section from a
made-up `tag:`/`endtag:` convention to Asciidoctor's actual
`tag::name[]`/`end::name[]` syntax, since the include still wouldn't
resolve with just the filename fixed - verified by rendering the file
standalone before and after.
---
README.md | 4 ++--
framework/testtools/src/docs/asciidoc/unit-tests.adoc | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 5f5f26125c..62f3fca50a 100644
--- a/README.md
+++ b/README.md
@@ -496,7 +496,7 @@ parameters are passed:
### Testing tasks
-<!-- tag: testingtasks -->
+<!-- tag::testingtasks[] -->
#### Execute all unit tests (no need access to the DB)
@@ -565,7 +565,7 @@ Listens on port **5005**
`gradlew "ofbiz --test component=entity" --debug-jvm`
-<!-- endtag: testingtasks -->
+<!-- end::testingtasks[] -->
### Miscellaneous tasks
diff --git a/framework/testtools/src/docs/asciidoc/unit-tests.adoc
b/framework/testtools/src/docs/asciidoc/unit-tests.adoc
index d429d99148..5977c897f1 100644
--- a/framework/testtools/src/docs/asciidoc/unit-tests.adoc
+++ b/framework/testtools/src/docs/asciidoc/unit-tests.adoc
@@ -139,7 +139,7 @@ like this:
== How to run a unit test?
You can run unit test by run 'gradle' with following target:
-include::../../../../../README.adoc[tag=testingtasks, leveloffset=-1]
+include::../../../../../README.md[tag=testingtasks, leveloffset=-1]
== Possible error messages