You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2021/08/26 18:00:00 UTC

[jira] [Resolved] (SLING-5922) allow sling mock to load content from jcrvlt's xml

     [ https://issues.apache.org/jira/browse/SLING-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seifert resolved SLING-5922.
-----------------------------------
    Resolution: Fixed

> allow sling mock to load content from jcrvlt's xml
> --------------------------------------------------
>
>                 Key: SLING-5922
>                 URL: https://issues.apache.org/jira/browse/SLING-5922
>             Project: Sling
>          Issue Type: New Feature
>          Components: JCR, Testing
>    Affects Versions: JCR Content Parser 1.2.6, Testing Sling Mock 2.3.4
>            Reporter: Nicolas Peltier
>            Assignee: Stefan Seifert
>            Priority: Major
>             Fix For: Testing Sling Mock 3.1.0
>
>
> loading test content from json is super simple and cool, but as soon as you have logical content in your project that is serialized in JCR-VLT format (xml), this forces you to:
> - reproduce the application xml's content in a test json file,
> - synchronize both file in later maintenance
> we should allow tester to load mock content from an arbitrary path (not necessarily resource), and accept JCR-VLT format



--
This message was sent by Atlassian Jira
(v8.3.4#803005)