[
https://issues.apache.org/jira/browse/SLING-4042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert resolved SLING-4042.
-----------------------------------
Resolution: Fixed
Completed: At revision: 1631424
added documentation:
* http://sling.apache.org/documentation/development/sling-mock.html
* http://sling.apache.org/documentation/development/osgi-mock.html
* http://sling.apache.org/documentation/development/jcr-mock.html
and for resourceresolver-mock as well (had no documentation yet):
* http://sling.apache.org/documentation/development/resourceresolver-mock.html
linked at these pages:
* http://sling.apache.org/documentation/development.html
*
http://sling.apache.org/documentation/tutorials-how-tos/testing-sling-based-applications.html
> Testing: Donate sling-mock, jcr-mock, osgi-mock implementation
> --------------------------------------------------------------
>
> Key: SLING-4042
> URL: https://issues.apache.org/jira/browse/SLING-4042
> Project: Sling
> Issue Type: New Feature
> Components: Testing
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
>
> donate a at suite of mocking libraries to run OSGi/SCR, JCR and esp. Sling in
> a simulated "in-memory" environment for unit tests, ensuring minimal setup
> time. it uses either a mocked in-memory JCR, or the resourceresolver-mock
> implementation that is already part of the sling project. additional
> convenience features like bulk-loading JSON content and binaries into the
> simulated resource tree via a content loader makes it easy setting up complex
> text fixtures for your unit tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)