Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-97

By default clean-up the resources bootstrapped by the @Fixture util

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 1.0.1
    • None

    Description

      Proposal

      • add a behaviour property to @Fixture annotation instructing to clean-up the fixture resources after test execution.
      • If property is true, apply @Cleanup logic to the bootstrapped resource
      • Do nothing otherwise

      Corner cases

      • Fixture data gets modified during test execution. Proposal: to reduce the scope and keep things simple - do nothing, let the explicit @Cleanup annotation handle the case.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              apchelintcev Aleksandr Pchelintcev
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Work Started:

                Checklists

                  Task DoD