[MGNLTEST-171] Enable JcrFixture on class level Created: 27/Jun/21  Updated: 30/Jun/21  Resolved: 30/Jun/21

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

Type: Improvement Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: core-TF-features-bugs-improvements

 Description   

Context

The mgnl jupiter-extension info.magnolia.test.fixture.JcrFixture allows to bootstrap jcr content and to remove it on method level with the annotations Fixture, Cleanup.

Acceptance criteria

  • Using Fixture at class level boostraps @BeforeAll
  • Using Cleanup at class is cleaning up @AfterAll

Developers note

See how the extenstion LightModulesSupport allows usage of the LightModule annotation on both method and class level.



 Comments   
Comment by Christoph Meier [ 30/Jun/21 ]

The functionality was already present :facepalm:

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