Skip to content

Introduce additional @Nested tests in test suite #23929

@sbrannen

Description

@sbrannen

Since #12470 has been resolved and due to the general support for automatically inheriting test configuration from enclosing classes for JUnit Jupiter @Nested tests in Spring Framework 5.3, it would be good to have more @Nested tests in the Spring Boot test suite in order to verify the expected behavior for various Spring Boot Test annotations when using @Nested test classes.

Aside from tests that verify the default, inherited behavior, it would also be good to have a few dedicated tests that verify support for @NestedTestConfiguration(OVERRIDE) semantics for Spring Boot Test annotations.

For Spring Framework, I added several such test classes in the org.springframework.test.context.junit.jupiter.nested package which may serve as inspiration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions