You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2021/06/15 23:28:37 UTC

[sling-site] branch master updated (f73da01 -> 2c42549)

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

olli pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git.


    from f73da01  Release Apache Sling Event Support 4.2.22
     new 9009afc  remove incomplete list, link to dependents on GitHub is sufficient
     new 32cd866  pull Logging paragraph up
     new 2c42549  SLING-10490 Add jacoco command when set to base configuration

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../documentation/development/testing-paxexam.md   | 60 ++++++----------------
 1 file changed, 17 insertions(+), 43 deletions(-)

[sling-site] 03/03: SLING-10490 Add jacoco command when set to base configuration

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit 2c42549d4b382808fb80a4ab3a04853c24d8cc97
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Jun 16 01:27:47 2021 +0200

    SLING-10490 Add jacoco command when set to base configuration
---
 .../content/documentation/development/testing-paxexam.md  | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/main/jbake/content/documentation/development/testing-paxexam.md b/src/main/jbake/content/documentation/development/testing-paxexam.md
index d07fe57..5649338 100644
--- a/src/main/jbake/content/documentation/development/testing-paxexam.md
+++ b/src/main/jbake/content/documentation/development/testing-paxexam.md
@@ -103,12 +103,9 @@ Configure the build artifact (bundle) to use in integration testing in `pom.xml`
         </executions>
         <configuration>
           <redirectTestOutputToFile>true</redirectTestOutputToFile>
-          <systemProperties>
-            <property>
-              <name>bundle.filename</name>
-              <value>${basedir}/target/${project.build.finalName}.jar</value>
-            </property>
-          </systemProperties>
+          <systemPropertyVariables combine.children="append">
+            <bundle.filename>${basedir}/target/${project.build.finalName}.jar</bundle.filename>
+          </systemPropertyVariables>
         </configuration>
       </plugin>
 
@@ -183,6 +180,12 @@ See Pax Exam's [Logging Configuration](https://ops4j1.jira.com/wiki/spaces/PAXEX
 For [Logback](https://logback.qos.ch) use `SlingOptions#logback()` and add both `exam.properties` and `logback.xml` to `src/test/resources` as described in Pax Exam's [Logging Configuration](https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263891/Logging+Configuration).
 
 
+## Code Coverage
+
+Code Coverage with [JaCoCo](https://www.eclemma.org/jacoco/) is configured by default in profile `jacoco-report` since Sling Parent 40.
+No additional configuration is required for Pax Exam since Testing PaxExam 4.0.
+
+
 ## Examples
 
 ### Set up a tailored Sling instance

[sling-site] 02/03: pull Logging paragraph up

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit 32cd8663c2c8d40f32e1a349cd0847bcff445b2e
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Jun 15 21:52:43 2021 +0200

    pull Logging paragraph up
---
 .../content/documentation/development/testing-paxexam.md   | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/jbake/content/documentation/development/testing-paxexam.md b/src/main/jbake/content/documentation/development/testing-paxexam.md
index 1dac0f7..d07fe57 100644
--- a/src/main/jbake/content/documentation/development/testing-paxexam.md
+++ b/src/main/jbake/content/documentation/development/testing-paxexam.md
@@ -176,6 +176,13 @@ To use a version from project (`pom.xml`) use `setVersionFromProject(String, Str
     SlingOptions.versionResolver.setVersionFromProject(SLING_GROUP_ID, "org.apache.sling.jcr.oak.server");
 
 
+## Logging
+
+See Pax Exam's [Logging Configuration](https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263891/Logging+Configuration) if logging needs to be tweaked.
+
+For [Logback](https://logback.qos.ch) use `SlingOptions#logback()` and add both `exam.properties` and `logback.xml` to `src/test/resources` as described in Pax Exam's [Logging Configuration](https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263891/Logging+Configuration).
+
+
 ## Examples
 
 ### Set up a tailored Sling instance
@@ -338,13 +345,6 @@ The `SimpleIT` below from [Scripting FreeMarker](https://github.com/apache/sling
     }
 
 
-## Logging
-
-See Pax Exam's [Logging Configuration](https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263891/Logging+Configuration) if logging needs to be tweaked.
-
-For [Logback](https://logback.qos.ch) use `SlingOptions#logback()` and add both `exam.properties` and `logback.xml` to `src/test/resources` as described in Pax Exam's [Logging Configuration](https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263891/Logging+Configuration).
-
-
 ## List of modules using Testing PaxExam
 
 [Testing PaxExam](https://github.com/apache/sling-org-apache-sling-testing-paxexam) is used by [several modules](https://github.com/apache/sling-org-apache-sling-testing-paxexam/network/dependents) for integration tests.

[sling-site] 01/03: remove incomplete list, link to dependents on GitHub is sufficient

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit 9009afc0f5af224c8d4f0cbd821f671871cd9726
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Jun 15 21:51:08 2021 +0200

    remove incomplete list, link to dependents on GitHub is sufficient
---
 .../documentation/development/testing-paxexam.md   | 31 +---------------------
 1 file changed, 1 insertion(+), 30 deletions(-)

diff --git a/src/main/jbake/content/documentation/development/testing-paxexam.md b/src/main/jbake/content/documentation/development/testing-paxexam.md
index 48906fa..1dac0f7 100644
--- a/src/main/jbake/content/documentation/development/testing-paxexam.md
+++ b/src/main/jbake/content/documentation/development/testing-paxexam.md
@@ -347,33 +347,4 @@ For [Logback](https://logback.qos.ch) use `SlingOptions#logback()` and add both
 
 ## List of modules using Testing PaxExam
 
-[Testing PaxExam](https://github.com/apache/sling-org-apache-sling-testing-paxexam) is used by several [modules](https://github.com/apache/sling-org-apache-sling-testing-paxexam/network/dependents) for integration tests:
-
-* [org.apache.sling.capabilities](https://github.com/apache/sling-org-apache-sling-capabilities)
-* [org.apache.sling.capabilities.jcr](https://github.com/apache/sling-org-apache-sling-capabilities-jcr)
-* [org.apache.sling.clam](https://github.com/apache/sling-org-apache-sling-clam)
-* [org.apache.sling.commons.clam](https://github.com/apache/sling-org-apache-sling-commons-clam)
-* [org.apache.sling.commons.classloader](https://github.com/apache/sling-org-apache-sling-commons-classloader)
-* [org.apache.sling.commons.contentdetection](https://github.com/apache/sling-org-apache-sling-commons-contentdetection)
-* [org.apache.sling.commons.crypto](https://github.com/apache/sling-org-apache-sling-commons-crypto)
-* [org.apache.sling.commons.html](https://github.com/apache/sling-org-apache-sling-commons-html)
-* [org.apache.sling.commons.jcr.file](https://github.com/apache/sling-org-apache-sling-commons-jcr-file)
-* [org.apache.sling.commons.messaging.mail](https://github.com/apache/sling-org-apache-sling-commons-messaging-mail)
-* [org.apache.sling.commons.metrics](https://github.com/apache/sling-org-apache-sling-commons-metrics)
-* [org.apache.sling.distribution.core](https://github.com/apache/sling-org-apache-sling-distribution-core)
-* [org.apache.sling.distribution.journal.it](https://github.com/apache/sling-org-apache-sling-distribution-journal-it)
-* [org.apache.sling.i18n](https://github.com/apache/sling-org-apache-sling-i18n)
-* [org.apache.sling.jcr.contentloader](https://github.com/apache/sling-org-apache-sling-jcr-contentloader)
-* [org.apache.sling.jcr.filetransfer](https://github.com/apache/sling-org-apache-sling-jcr-filetransfer)
-* [org.apache.sling.jcr.oak.server](https://github.com/apache/sling-org-apache-sling-jcr-oak-server)
-* [org.apache.sling.jcr.repoinit](https://github.com/apache/sling-org-apache-sling-jcr-repoinit)
-* [org.apache.sling.karaf-integration-tests](https://github.com/apache/sling-org-apache-sling-karaf-integration-tests)
-* [org.apache.sling.karaf-launchpad-oak-tar-integration-tests](https://github.com/apache/sling-org-apache-sling-karaf-launchpad-oak-tar-integration-tests)
-* [org.apache.sling.pipes](https://github.com/apache/sling-org-apache-sling-pipes)
-* [org.apache.sling.resource.presence](https://github.com/apache/sling-org-apache-sling-resource-presence)
-* [org.apache.sling.rewriter](https://github.com/apache/sling-org-apache-sling-rewriter)
-* [org.apache.sling.scripting.core](https://github.com/apache/sling-org-apache-sling-scripting-core)
-* [org.apache.sling.scripting.freemarker](https://github.com/apache/sling-org-apache-sling-scripting-freemarker)
-* [org.apache.sling.scripting.groovy](https://github.com/apache/sling-org-apache-sling-scripting-groovy)
-* [org.apache.sling.scripting.thymeleaf](https://github.com/apache/sling-org-apache-sling-scripting-thymeleaf)
-* [org.apache.sling.servlets.resolver](https://github.com/apache/sling-org-apache-sling-servlets-resolver)
+[Testing PaxExam](https://github.com/apache/sling-org-apache-sling-testing-paxexam) is used by [several modules](https://github.com/apache/sling-org-apache-sling-testing-paxexam/network/dependents) for integration tests.