junit - ReplacementDataSet with Maven DBUnit plugin -


i'd use replacementdataset dbunit @ build time can parse testdata.xml file , filter data values.

e.g., nice able this:

replacementdataset rds = new replacementdataset(ds);  rds.addreplacementobject("[null]", null); rds.addreplacementobject("[now]", dbunitdateformat(dateutils.adddays(new date(), 0))); 

however, maven dbunit plug doesn't allow me override flatxmldatasetbuilder or insert kind of replacement data set class. advice?

the maven dbunit plugin quite basic. dbunit ant task allows additional configuration behaviour cannot access full range of dbunit functionality.

best recomemndation declare use of dataset within unit tests.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -