You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2010/02/16 08:50:27 UTC

[jira] Commented: (JCR-2493) Unit tests for persistence managers

    [ https://issues.apache.org/jira/browse/JCR-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834116#action_12834116 ] 

Thomas Mueller commented on JCR-2493:
-------------------------------------

To speed up the test, I will try to change the test case to use an in-memory database by default.

> Unit tests for persistence managers
> -----------------------------------
>
>                 Key: JCR-2493
>                 URL: https://issues.apache.org/jira/browse/JCR-2493
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>         Attachments: JCR-2493.patch
>
>
> Currently we only test our persistence managers indirectly via JCR-level test cases. The downside of this approach is that we can only test one persistence manager implementation at a time, and need separate build profiles to switch from one implementation to another. To ensure better coverage and consistent behaviour across all our persistence managers I implemented a simple unit test that works directly against the PersistenceManager interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.