spring-test-dbunit icon indicating copy to clipboard operation
spring-test-dbunit copied to clipboard

Document DBUnit Dependency

Open pbtura opened this issue 2 years ago • 1 comments

In the current documentation, it is not clear that dbunit needs to be added as a maven dependency IN ADDITION to the spring-test-dbunit-core dependency. Assuming that the dbunit library is included and failing to add it to maven results in errors that are very difficult to diagnose. For example test databases will not be populated, but the underlying error gets swallowed making it hard to track down why.

The READ ME file should be updated to clarify that an explicit dependency on dbunit is required.

pbtura avatar Aug 24 '23 17:08 pbtura

Well spotted! I think it would make more sense for the DBUnit dependency's scope to be changed from provided to compile.

ppodgorsek avatar Aug 27 '23 08:08 ppodgorsek