I\'m wondering if there is any way to specify for example tomorrow as date in the DBUnit XML dataset. Sometimes code logic is different for dates in future and dates in the past
A new relative date/time syntax has been added in DbUnit 2.7.0 and you can now write [now+1d]
to set tomorrow's date without any extra setup.
The doc is here:
http://dbunit.sourceforge.net/datatypes.html#relativedatetime
A few examples from the doc: