Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2765

[CANNOT REPRODUCE] Method ModuleWithFixtures.getTeardownFixture not executed after failed test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M5
    • 2.0.0-M7
    • Testing fixtures
    • None

    Description

      When an integration test fails the method ModuleWithFixtures.getTeardownFixture is not executed. As a result added entities to the H2 DB are not deleted. This can and has caused errors in other integration tests that are run later in the flow and depend on overlapping data.

      IMHO the teardown should always run to make sure the other tests can continue in a consistent state.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ppjdeenen Patrick Deenen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: