Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@DatabaseSetup not working with JUnit 5's @Nested #145

Open
nikola-zivkov opened this issue Aug 30, 2019 · 2 comments
Open

@DatabaseSetup not working with JUnit 5's @Nested #145

nikola-zivkov opened this issue Aug 30, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@nikola-zivkov
Copy link

It seems that datasets are not loaded when @DatabaseSetup is placed on either a nested class or a method within a nested class.

@ppodgorsek ppodgorsek added the bug Something isn't working label Dec 8, 2019
@ppodgorsek
Copy link
Owner

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.

@alexeil
Copy link

alexeil commented Jul 20, 2020

Still not working with Spring boot 2.3.1 and spring-test-dbunit 1.3.0. is there any update on this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants