Currently the DefaultPrepAndExpectedTestCase contains logic for verifying database data against expected datasets.
This is very useful logic, but the DefaultPrepAndExpectedTestCase forces a specific flow of the test. And although it supports composition and I did not run into a blocking restriction with this approach, it would be cleaner if this verification logic would be extract into a separate 'VerifyOperation' which could be executed wherever wanted, without the additional requirements that come with using the DefaultPrepAndExpectedTestCase
I have created a merge request for this, on which I would appreciate some feedback before continuing work on it.
Last edit: Luc Feys 2019-03-15
There are multiple refactorings I want to do with DefaultPrepAndExpectedTestCase. Extracting classes is the main one, and extracting the verifier is a good place to start.
Please see comments on the MR.
Ticket moved from /p/dbunit/bugs/425/
Can't be converted: