[MGNLTEST-22] Fixture & Cleanup can be applied to both public and author context Created: 04/Mar/20  Updated: 19/Oct/20  Resolved: 28/Sep/20

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.2

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Quach Hao Thien
Resolution: Done Votes: 0
Labels: QA&Testing
Remaining Estimate: 0d
Time Spent: 4d 4h 10m
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLTEST-1 Attempt to extract the integration te... Closed
depends upon MGNLTEST-28 Run selftests on extracted test frame... Closed
is depended upon by MGNLEE-617 Clean up bootstrap folder resource in... Open
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: core-TF-features-bugs-improvements
Sprint: CM & OC 11, CM & OC 12
Story Points: 3

 Description   

The annotations info.magnolia.integrationtests.rules.Fixture, info.magnolia.integrationtests.rules.Cleanup and its underlying utility classes to bootstrap or delete JCR content so far "only" apply to the author context.

Let's make it possible to use these annotations for both author and public.

Acceptance criteria

  • The Fixture, Cleanup can be applied to
    • author (default)
    • public
    • both
  • Enable to pass an optional parameter to decide for the context(s). If the paramter is not present, default applies.
    (tbh, I'm not sure whether this is doable with "optional" param)


 Comments   
Comment by Quach Hao Thien [ 10/Jun/20 ]

I create 2 task tickets to minimize the scope of this ticket

Generated at Mon Feb 12 07:44:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.