takimafr / spring-dbunit

DBUnit support for Spring
Apache License 2.0
40 stars 19 forks source link

Adds DataSetDecorators to @DataSet #34

Closed rsertelon closed 10 years ago

rsertelon commented 10 years ago

This feature aims at allowing users of the library to use tokens in their XML datasets so that they can replace them with dynamically computed values.

For instance, I use it to replace [NOW] with the date on which the dataset is loaded. This is extremely useful when testing date dependant services.

Maybe Spring-DBUnit could then ship several default DataSetDecorators?

rsertelon commented 10 years ago

To add on this, I've used [NOW] in the past without problems, but when I upgraded to Spring 4 and Spring DBUnit 1.3.0, it wouldn't work anymore. Thus the extension I propose.