Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8188

Lightweight repository setup for tests

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Neutral
    • 6.2.16
    • None
    • testing

    Description

      Implement a TemporaryRepository JUnit rule for an easy and lightweight way to setup a JCR repository to run tests against so test writers do not need to inherit to RepositoryTestCase any more.

      PR 1469 contains an initial draft of such a rule, which works for simple cases. To make this more useful we still need to integrate it with how the repository is usually setup (i.e. info.magnolia.repository.Provider / info.magnolia.repository.RepositoryManager)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mduerig Michael Duerig
                mduerig Michael Duerig
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 0.25d
                    0.25d