[ 
https://issues.apache.org/jira/browse/SLING-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542244#comment-14542244
 ] 

Stefan Seifert edited comment on SLING-4605 at 5/13/15 5:03 PM:
----------------------------------------------------------------

this should be a different - new - bundle.

the main reason for separating the sling-mocks-jackrabbit from sling-mocks 
bundle was to avoid including dozens of jackrabbit implementation-related maven 
dependencies in the developers project (even if only with test scope) if not 
really required. the same would apply to an oak resource resolver type which 
has to include all libraries required to run a minimal oak as well.

currently i've no experience setting up a minimal oak instance for a unit test 
like it is done by {{org.apache.sling.commons.testing.jcr.RepositoryProvider}} 
which i happily re-used for sling-mock-jackrabbit.


was (Author: [email protected]):
this should be a different - new - bundle.

the main reason for separating the sling-mocks-jackrabbit from sling-mocks 
bundle was to avoid including dozens of jackrabbit implementation-related maven 
dependencies in the developers project (even if only with test scope) if not 
really required. the same would apply to an oak resource resolver type which 
has to include all libraries required to run a minimal oak as well.

currently i've now experience setting up a minimal oak instance for a unit test 
like it is done by {{org.apache.sling.commons.testing.jcr.RepositoryProvider}} 
which i happily re-used for sling-mock-jackrabbit.

> Add support for an Oak resource resolver type mock
> --------------------------------------------------
>
>                 Key: SLING-4605
>                 URL: https://issues.apache.org/jira/browse/SLING-4605
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing Sling Mock Jackrabbit 0.1.2
>            Reporter: Robert Munteanu
>             Fix For: Testing Sling Mock Jackrabbit 0.1.4
>
>
> As we have Oak support in the launchpad now and there are some internal 
> differences between Oak and Jackrabbit it would be good to be able to test 
> against an Oak repository instance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to