Skip to content

Extend default script detection in @Sql to account for execution phase [SPR-13322] #17907

Open
@spring-projects-issues

Description

@spring-projects-issues

Robert Thaler opened SPR-13322 and commented

Status Quo

We often need to prepare data before a specific test and clean up this data after the test. Therefore we use two distinct scripts assigned to the test's ExecutionPhase.

Proposal

Appending a suffix such as _before or _after to the default script name would allow one to use default detection with different scripts for preparation and cleanup.

Deliverables

  1. Default script detection should take the ExecutionPhase into account.

Affects: 4.1 GA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions