How can I ignore the comparison of some columns using ExpectedDataSet
annotation?
dbunit
API.In spring using spring-test-dbunit, you can write:
@ExpectedDatabase(value="yourdataset.xml", assertionMode=DatabaseAssertionMode.NON_STRICT)
and omit the columns on "yourdataset.xml"
ref: http://springtestdbunit.github.io/spring-test-dbunit/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With