incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r857266 - in /websites/staging/sling/trunk/content: ./ documentation/development/sling-testing-tools.html
Date Thu, 04 Apr 2013 12:42:12 GMT
Author: buildbot
Date: Thu Apr  4 12:42:12 2013
New Revision: 857266

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 Thu Apr  4 12:42:12 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
Thu Apr  4 12:42:12 2013
@@ -130,8 +130,11 @@ For tighter integration with Sling, the 
-<p>And another example with a test that fails:
-    $ curl -X POST http://localhost:8080/system/sling/junit/</p>
+<p>And another example with a test that fails:</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">curl</span>
<span class="o">-</span><span class="n">X</span> <span class="n">POST</span>
<span class="n">http:</span><span class="sr">//</span><span class="n">localhost:8080</span><span
class="sr">/system/s</span><span class="n">ling</span><span class="sr">/junit/o</span><span
class="n">rg</span><span class="o">.</span><span class="n">apache</span><span
class="o">.</span><span class="n">sling</span><span class="o">.</span><span
class="n">testing</span><span class="o">.</span><span class="n">samples</span><span
class="o">.</span><span class="n">failingtests</span><span class="o">.</span><span
class="n">JUnit4FailingTest</span><span class="o">.</span><span class="n">json</span>
 <h1 id="scriptable-server-side-tests">Scriptable server-side tests</h1>
 <p>If the <a href=""></a>
bundle is active in a Sling system, (in addition to the <code></code>
bundle), scriptable tests can be executed by the <code>JUnitServlet</code> according
to the following rules:</p>
@@ -164,7 +167,7 @@ For tighter integration with Sling, the 
 <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. 1464504 by bdelacretaz on Thu, 4 Apr 2013 12:39:04 +0000
+        Rev. 1464505 by bdelacretaz on Thu, 4 Apr 2013 12:42:06 +0000
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

View raw message