jeudi 8 janvier 2015

DbUnit - How to compare specific column value using my own custom code

With DbUnit, is there a way to use custom code to compare a specific column value.


In my case, what I want to do is use org.apache.commons.lang.time.DateUtils.isSameDay(...) in order to compare every column named "last_update_date" in my database. I don't care about the time, all I want to verify is that the date has been set to "today".


Aucun commentaire:

Enregistrer un commentaire