Package org.dbunit.annotation
Annotation Interface DbUnitTester
Marks a test class field, of a type implementing
IDatabaseTester, as the tester to
drive - the "an instance already exists and I want it used" case, ahead of a
DbUnitConfig.databaseTesterFactory() and the plain field auto-scan.
Accepts a static field, the way a tester shared across every method in a class is
typically declared. Declaring this alongside a DbUnitTestCase field, or more than
one field with either marker at the same class level, is rejected as ambiguous.
- Since:
- 3.6.0
- Author:
- Jeff Jensen
- See Also: