On 5/23/13 4:45 PM, "Bertrand Delacretaz" <[email protected]> wrote:

>On Thu, May 23, 2013 at 4:34 PM, Lukas Eder <[email protected]> wrote:
>> ...maybe,
>> such a Maven plugin and pre-configured test repository could be
>>leveraged
>> for other purposes, most importantly for mocking Sling as a whole?...
>
>The problem with a Maven plugin is you cannot use it when testing from
>some IDEs.

True, I missed that.

>What we currently have is the RepositoryProvider utility [1] for tests
>which need a JCR repository, it's very easy to use an non-intrusive.
>Enhancing it to detect CND files in (overridable) well-known locations
>should be easy.
>
>There's also been discussions on our dev list about making it easier
>to run OSGi-based tests, when you need Sling services and not just a
>repository. We're using Pax Exam in the installer/it module for
>example, it's not very complicated to setup but might be made even
>easier.

OK, thanks for the insight, Bertrand. I guess things really aren't that
simple. I can live with the manual creating of a repository in my case,
though.


Cheers
Lukas

Reply via email to