Closed as not planned
Description
urbanq opened SPR-14357 and commented
It would be helpful to introduce class-level support in the ExecutionPhase
enum used by @Sql
: BEFORE_CLASS
and AFTER_CLASS
.
So when executing integration test we can easily run one single SQL script for all test methods in the test class.
Affects: 4.2.6
Reference URL: https://stackoverflow.com/questions/32871817/using-annotation-sql-is-it-possible-to-execute-scripts-in-class-level-before-m
Issue Links:
- Introduce opt-in support for merging class-level and method-level @Sql declarations [SPR-16021] #20570 Introduce opt-in support for merging class-level and method-level
@Sql
declarations
4 votes, 5 watchers