org.jboss.arquillian.persistence
Annotation Type ShouldMatchDataSet
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Inherited
public @interface ShouldMatchDataSet
Verifies state of underlying data store using data sets
defined by this annotation. Verification is invoked after test's
execution (including transaction if enabled).
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:
expected-[fully qualified class name]#[test method name].[default format].
-
If
UsingDataSet annotation is defined on class level, file name has following format:
expected-[fully qualified class name]#.[default format] .
If not specified in arquillian.xml, then 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.