spring-test-dbunit
spring-test-dbunit copied to clipboard
@DatabaseSetup not working with JUnit 5's @Nested
It seems that datasets are not loaded when @DatabaseSetup is placed on either a nested class or a method within a nested class.
The following test class has been created to reproduce this issue on the dedicated branch: com.github.springtestdbunit.setup.NestedDatabaseSetupTest
From a first analysis, it seems Spring's @SpringJUnitConfig does not support nested classes correctly.
Still not working with Spring boot 2.3.1 and spring-test-dbunit 1.3.0. is there any update on this issue ?