Hi Bertrand

Thanks for the pointers. For the moment I have resorted to creating a
plain unit test for my issue. I hope I'll have time to investigate the
integration test again soon.

Regards
Julian


On Mon, Nov 7, 2016 at 1:33 PM, Bertrand Delacretaz
<[email protected]> wrote:
> Hi,
>
> On Mon, Nov 7, 2016 at 12:32 PM, Julian Sedding <[email protected]> wrote:
>> ...What I am missing so far is a way to inject my own provisioning model
>> (and ideally repoinit) into the launchpad I am starting in an
>> integration test....
>
> It depends how you are starting the Sling instance that you use for
> testing, and unfortunately there are several flavors of that in our
> codebase.
>
> If you have existing test code and want to add a repoinit setup, the
> simplest might be to pass the output of a RepoInitParser to a
> JcrRepoInitOpsProcessor. in your test setup code after adding the
> corresponding bundles to your test instance.
>
> -Bertrand

Reply via email to