[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: |
|
||||||||||||||||||||||||||||||||||||
| 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) |