incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r857748 - in /websites/staging/sling/trunk/content: ./ documentation/development/sling-testing-tools.html
Date Mon, 08 Apr 2013 15:01:39 GMT
Author: buildbot
Date: Mon Apr  8 15:01:39 2013
New Revision: 857748

Staging update by buildbot for sling

    websites/staging/sling/trunk/content/   (props changed)

Propchange: websites/staging/sling/trunk/content/
--- cms:source-revision (original)
+++ cms:source-revision Mon Apr  8 15:01:39 2013
@@ -1 +1 @@

Modified: websites/staging/sling/trunk/content/documentation/development/sling-testing-tools.html
--- websites/staging/sling/trunk/content/documentation/development/sling-testing-tools.html
+++ websites/staging/sling/trunk/content/documentation/development/sling-testing-tools.html
Mon Apr  8 15:01:39 2013
@@ -163,11 +163,14 @@ For tighter integration with Sling, the 
 <h2 id="slingremotetestrunner">SlingRemoteTestRunner</h2>
 <p>The <a href="">SlingRemoteTestRunner</a>
is used to run tests using the <code>JUnitServlet</code> described above. In this
case, the client-side JUnit test only defines which tests to run and some optional assertions.
Checking the number of tests executed, for example, can be useful to make sure all test bundles
have been activated as expected, to avoid ignoring missing test bundles.</p>
 <p>See the <a href="">ServerSideSampleTest</a>
class for an example.</p>
+<p>It's a good idea to check that the JUnit servlet is ready before running those tests,
see the
+<a href="">ServerSideTestsBase</a>
+for an example of how to do that.</p>
 <h2 id="slingremoteexecutionrule">SlingRemoteExecutionRule</h2>
 <p>The <a href="">SlingRemoteExecutionRule</a>
is a JUnit Rule that allows tests to be executed remotely in a Sling instance from an IDE,
assuming the test is available on both sides.</p>
 <p>The <a href="">ExampleRemoteTest</a>
class demonstrates this. To run it from your IDE, set the <code>sling.remote.test.url</code>
in the IDE to the URL of the JUnitServlet, like http://localhost:8080/system/sling/junit for
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1464505 by bdelacretaz on Thu, 4 Apr 2013 12:42:06 +0000
+        Rev. 1465659 by bdelacretaz on Mon, 8 Apr 2013 15:01:29 +0000
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

View raw message