org.jboss.arquillian.persistence
Annotation Type UsingDataSet
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Inherited
public @interface UsingDataSet
Provides information about data sets needs to be 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
datasets folder.
-
If
UsingDataSet annotation is defined on method level, file name has following format:
[fully qualified class name]#[test method name].[default format].
-
If
UsingDataSet annotation is defined on class level, file name has following format:
[fully qualified class name]#.[default format] .
If not specified in arquillian.xml expected format is XML.
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.