a cool feature is to initialize the DB before each test.
Since most data are common to all tests, it pays to factor them out to a shared DataSet (xml file)
Unitils supports this feature and this is the syntax:
@DataSet(value={"one.xml","two.xml"})
http://www.unitils.org/apidocs/org/unitils/dbunit/annotation/DataSet.html
No comments:
Post a Comment
comments where you are promoting your business will be marked as SPAM :o)