Closed mzagar closed 8 years ago
springtestdbunit » spring-test-dbunit #61 FAILURE Looks like there's a problem with this pull request (what's this?)
springtestdbunit » spring-test-dbunit #62 FAILURE Looks like there's a problem with this pull request (what's this?)
This is a proposal for ISSUE-65 - failing to use non-strict DatabaseAssertionModes when XML includes DTD.
I added ExpectedDatabase.columnFilters() attribute which enables one to specify set of dbunit IColumnFilter-s to be used to explicitly control which columns get ignored when using any of non-strict DatabaseAssertionModes.
To ignore columns based on provided IColumnFilters I used DbUnit column filter feature described here: http://dbunit.sourceforge.net/faq.html#columnfilter.
Usage example can be seen in ExpectedNonStrictWithDtdTest.
Please let me know what you think, any suggestions are most welcome.