rmpestano / dbunit-rules

https://github.com/database-rider/database-rider
15 stars 5 forks source link

Create dataset on statement evaluation #33

Closed rmpestano closed 8 years ago

rmpestano commented 8 years ago

Currently we create dataset on rule apply method level but it can be too early, for example when chaining rules JUnit will call all rules 'apply' first.

When integrating with app composer (see issue #30) we need to chain dbunit and app composer rules and we need to wait composer to create datasource which happens only at statement execution level. So if dbunit rule creates dataset at statement level it can use app composer ds.