Defines SQL scripts applied on test database before test method execution.
If files are not specified explicitly, following strategy is applied:
- Assumption that files are stored in
scripts folder.
-
If annotation is defined on method level, file name has following format:
[before]-[fully qualified class name]#[test method name].sql.
-
If annotation is defined on class level, file name has following format:
[before]-[fully qualified class name].sql.
Presence of this annotation in the test class enables Arquillian Persistence Extension.