You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2017/12/09 10:10:11 UTC

[sling-site] branch master updated: fix link to testing samples

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 6b5ab2d  fix link to testing samples
6b5ab2d is described below

commit 6b5ab2d4020e9adcc067ce5e389badcb3ad6cecf
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat Dec 9 11:10:04 2017 +0100

    fix link to testing samples
---
 .../content/documentation/development/sling-testing-tools.md      | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/jbake/content/documentation/development/sling-testing-tools.md b/src/main/jbake/content/documentation/development/sling-testing-tools.md
index c71dc58..830ae55 100644
--- a/src/main/jbake/content/documentation/development/sling-testing-tools.md
+++ b/src/main/jbake/content/documentation/development/sling-testing-tools.md
@@ -106,12 +106,16 @@ Test failures would be included in this JSON representation - you can test that
 same request again.      
 
 # Integration tests example
-The [testing/samples/integration-tests](http://svn.apache.org/repos/asf/sling/trunk/testing/samples/integration-tests) module runs some simple integration tests against a Sling Launchpad instance that's setup from scratch before running the tests.
+The [IT Samples](https://github.com/apache/sling-samples/tree/master/testing) modules run some simple integration tests against a Sling Launchpad instance that's setup from scratch before running the tests.
 
-This module's pom and Java code can be used as examples to setup your own integration testing modules for Sling-based apps - or for any other runnable jar that provides an http service.
+Either of those modules can be used as examples to setup your own integration testing modules for Sling-based apps - or for any other runnable jar that provides an http service.
 
 Besides serving as examples, some of the tests in this module are used to validate the testing tools. They run as part of the full Sling [continuous integration](/project-information.html) build, so they're guaranteed to be correct examples if that build is successful.
 
+<div class="warning">
+The information below is outdated and needs an update, please rather directly check the source files linked above.
+</div>
+
 The sample uses the [testing/tools](http://svn.apache.org/repos/asf/sling/trunk/testing/tools) to make the test code simpler. See the [OsgiConsoleTest|https://svn.apache.org/repos/asf/sling/trunk/testing/samples/integration-tests/src/test/java/org/apache/sling/testing/samples/integrationtests/http/OsgiConsoleTest.java] class for an example of a test that's very readable and requires no test setup or boilerplate code.
 
 The following steps are executed in the `integration-test` phase of this module's Maven  build:

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].