[MAGNOLIA-8188] Lightweight repository setup for tests Created: 23/Sep/21  Updated: 31/Jan/22  Resolved: 03/Jan/22

Status: Closed
Project: Magnolia
Component/s: testing
Affects Version/s: None
Fix Version/s: 6.2.16

Type: New Feature Priority: Neutral
Reporter: Michael Duerig Assignee: Michael Duerig
Resolution: Fixed Votes: 0
Labels: VN-Testing, artt
Remaining Estimate: Not Specified
Time Spent: 0.25d
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-8267 ComponentsTestUtil causes failures wi... Closed
relates to MAGNOLIA-8294 Implement JUnit 5 extension for repla... Closed
relates to MAGNOLIA-8295 Implement a JUnit5 replacement for Te... Closed
relates to MAGNOLIA-8269 Deprecate MgnlTestCase, RepositoryTes... Closed
relates to MAGNOLIA-8265 Move JUnit 5 extensions and related t... Accepted
relates to MAGNOLIA-8266 Remove dependency from ComponentProvi... Closed
relates to MAGNOLIA-8268 Support parametrisations for @Magnoli... Closed
relates to MAGNOLIA-8280 Simplify setting up a Magnolia contex... Closed
Template:
Acceptance criteria:
Empty
Epic Link: Basic JUnit 5

 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)


Generated at Mon Feb 12 04:30:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.