springtestdbunit / spring-test-dbunit

Integration between the Spring testing framework and DBUnit
http://springtestdbunit.github.com/spring-test-dbunit/
Apache License 2.0
476 stars 238 forks source link

Why @ExpectedDatasets do not combine @ExpectedDataset into One #123

Closed rbsrcy closed 8 years ago

rbsrcy commented 8 years ago

@philwebb Hi:

Why do not put the Dataset that declare by @ExpectedDataset in @ExpectedDatasets togeter,and just verfify onece with after @Test function;

Here is the master code in in com.github.springtestdbunit.DbUnitRunner

private void verifyExpected(DbUnitTestContext testContext, Annotations annotations)throws Exception { if (testContext.getTestException() != null) { if (logger.isDebugEnabled()) { logger.debug("Skipping @DatabaseTest expectation due to test exception "