You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HibernateSpec and DataTest are incompatible as they both create two different kind of datastore. As a results, it is impossible to have a unit test extending HibernateSpec and that test code using the mapping context.
It also results in some features that are not working as expected. For example the @transactional annotation on unit test doesnt work anymore if you implement DataTest, since GORM doesn't know which datastore to choose.
HibernateSpec and DataTest are incompatible as they both create two different kind of datastore. As a results, it is impossible to have a unit test extending HibernateSpec and that test code using the mapping context.
It also results in some features that are not working as expected. For example the @transactional annotation on unit test doesnt work anymore if you implement DataTest, since GORM doesn't know which datastore to choose.
You can see a sample project with those cases here : https://github.com/anthonyMoreira/bug-hibernatespec
The integration between HibernateSpec and DomainUnitTest/ServiceUnitTest/DataTest should be transparent for the developpers and/or well documented.
The text was updated successfully, but these errors were encountered: