takimafr / spring-dbunit

DBUnit support for Spring
Apache License 2.0
40 stars 19 forks source link

UpOperation and tearDownOperation should support multiple values #10

Closed smougenot closed 12 years ago

smougenot commented 12 years ago

DataSet should allow a way to use composite DBOperation(s) for setup and teardown by allowing multiple values in the coresponding attributes.

Like this :

@DataSet(locations={ "...data.xml" }, format=DataSetFormat.FLAT,
    dataSourceSpringName="dataSource", setUpOperation={DBOperation.DELETE,DBOperation.INSERT})
smougenot commented 12 years ago

Nice, I planed to do it this sunday but I'm glad to see you've done it ... so quickly!

slandelle commented 12 years ago

No pro : piece of cake!