You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2015/09/22 12:16:42 UTC
svn commit: r1704519 -
/sling/site/trunk/content/documentation/tutorials-how-tos/testing-sling-based-applications.mdtext
Author: bdelacretaz
Date: Tue Sep 22 10:16:35 2015
New Revision: 1704519
URL: http://svn.apache.org/viewvc?rev=1704519&view=rev
Log:
Tweak JUnit server-side docs
Modified:
sling/site/trunk/content/documentation/tutorials-how-tos/testing-sling-based-applications.mdtext
Modified: sling/site/trunk/content/documentation/tutorials-how-tos/testing-sling-based-applications.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/tutorials-how-tos/testing-sling-based-applications.mdtext?rev=1704519&r1=1704518&r2=1704519&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/tutorials-how-tos/testing-sling-based-applications.mdtext (original)
+++ sling/site/trunk/content/documentation/tutorials-how-tos/testing-sling-based-applications.mdtext Tue Sep 22 10:16:35 2015
@@ -54,11 +54,10 @@ We currently use it for our [Sling insta
Such tests are obviously slower than plain unit tests and tests that use mocks. Our installer integration tests, using Pax Exam, take about a minute to execute on a 2010 macbook pro.
-## Sling testing tools: server-side JUnit tests
+## Server-side JUnit tests
-The [Sling testing tools]({{ refs.sling-testing-tools.path }}) include a module that executes JUnit tests server-side, in a Sling instance. This allows integration tests to run in a realistic environment, and could also be used for self-testing production systems.
-
-As I write this, we are not using those tools to test Sling itself, but we have a [complete example](https://svn.apache.org/repos/asf/sling/trunk/testing/samples/integration-tests) of integration tests that use them to run server-side JUnit tests, including automatic setup of the test Sling instance.
+The tools described on the [JUnit server-side testing support]({{ refs.org-apache-sling-junit-bundles.path }}) page allow for
+running JUnit tests on an live Sling instance, as part of the normal integration testing cycle.
## HTTP-based integration tests