0

Is it possible to skip validation of columns in DBUnit?

I prefer to use FlatXmlDataSet because it is easier to maintain. But for comparing the result I have to use XmlDataSet which has always all columns behind the table tag.

The Assertion method assertEqualsIgnoreCols might be a solution because it allows me to specify columns to ignore but there are to many columns and I do not want to add them all manually. :-(

1 Answers1

1

Take a look at Ignoring some columns in comparison, you can also take a look at How to exclude some table columns at runtime?

CSchulz
  • 10,882
  • 11
  • 60
  • 114
Guilherme Torres Castro
  • 15,135
  • 7
  • 59
  • 96