-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Document tips to avoid issues with ignored default context configuration in tests #36392
Copy link
Copy link
Closed
Closed
Copy link
Labels
in: testIssues in the test moduleIssues in the test moduletype: documentationA documentation taskA documentation task
Milestone
Description
Overview
In Spring Framework 7.1, the TestContext Framework will reliably detect all implicit default context configuration within the type hierarchy or enclosing class hierarchy (for @Nested test classes) above a given test class; however, test suites may encounter failures once we make that switch in behavior (see #31456 (comment)).
In order to help development teams prepare for the switch in 7.1, we will log a warning whenever we detect default context configuration that is currently ignored (see #36390).
However, that log message should link to external documentation which contains further details on how to address such issues, and this GitHub issues aims to address that.
Related Issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test moduletype: documentationA documentation taskA documentation task