-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make default @NestedTestConfiguration mode configurable
Prior to this commit, the EnclosingConfiguration mode used in conjunction with @NestedTestConfiguration defaulted to INHERIT. In other to allow development teams to change the default to OVERRIDE (e.g., for compatibility with Spring Framework 5.0 through 5.2), this commit introduces support for changing the default EnclosingConfiguration mode globally via a JVM system property or via the SpringProperties mechanism. For example, the default may be changed to EnclosingConfiguration.OVERRIDE by supplying the following JVM system property via the command line. -Dspring.test.enclosing.configuration=override Closes gh-19930
- Loading branch information
Showing
3 changed files
with
122 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters