org.jboss.arquillian.persistence
Annotation Type UsingScript
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Inherited
public @interface UsingScript
Defines SQL scripts used for
seeding 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
UsingScript annotation is defined on method level, file name has following format:
[fully qualified class name]#[test method name].sql.
Presence of this annotation in the test class will enable Arquillian Persistence Extension.
- Author:
- Bartosz Majsak
value
public abstract String[] value
- Default:
- ""
Copyright © 2011 JBoss by Red Hat. All Rights Reserved.