Go to file
Sam Brannen 87c93d35d6 Revise bean override tests with a focus on AOT support
As a follow up to the previous commit (31f8e12adb), this commit
polishes bean override tests and revises them with a focus on AOT
testing support and simplified maintenance.

- Introduce EngineTestKitUtils to simplify working with JUnit's
  EngineTestKit.

- Use idiomatic EngineTestKit APIs to simplify assertions on
  EngineTestKit results.

- Introduce BeanOverrideTestSuite to simplify running all bean override
  tests within the IDE.

- Separate failure and success scenario tests, so that failure tests do
  not launch the JUnit Platform to run tests using the Spring
  TestContext Framework (TCF) within a test class that itself uses the
  TCF.

- Make AbstractTestBeanIntegrationTestCase actually abstract.

- Rename test case classes to give them meaningful names and simplify
  understanding of what's being tested.

- Ensure tests for @⁠MockitoSpyBean functionality use @⁠MockitoSpyBean
  instead of @⁠MockitoBean.

- Declare @⁠Configuration classes local to @⁠SpringJUnitConfig test
  classes whenever possible.

See gh-29122
See gh-32925
2024-05-31 12:19:31 +02:00
.github Add update-antora-ui-spring.yml workflow 2024-05-27 16:56:13 +02:00
buildSrc Merge branch '6.1.x' 2024-05-28 18:47:38 +02:00
ci Merge branch '6.1.x' 2024-04-29 13:40:51 +02:00
framework-api Polish "Replace deprecated usage of project.buildDir" 2023-12-18 16:24:02 +01:00
framework-bom Guard against new Spring modules in ApiDiff task 2022-07-28 10:51:53 +02:00
framework-docs Use consistent version strings for 6.2 2024-05-24 15:19:30 +02:00
framework-platform Merge branch '6.1.x' 2024-05-27 16:44:19 +02:00
gradle Merge branch '6.1.x' 2024-05-24 15:42:39 +02:00
integration-tests Merge branch '6.1.x' 2024-05-23 17:08:22 +02:00
spring-aop Clean up warnings in Gradle build 2024-05-24 13:39:56 +02:00
spring-aspects Merge branch '6.1.x' 2024-05-23 17:08:22 +02:00
spring-beans Apply ThreadLocal#remove() to pre-instantiation threads 2024-05-28 16:35:58 +02:00
spring-context Avoid usage of deprecated AssertJ feature 2024-05-27 16:51:39 +02:00
spring-context-indexer Polish 2024-01-17 18:41:15 +01:00
spring-context-support Merge branch '6.1.x' 2024-05-07 15:53:00 +02:00
spring-core Merge branch '6.1.x' 2024-05-28 18:47:38 +02:00
spring-core-test Merge branch '6.1.x' 2024-04-23 15:34:49 +02:00
spring-expression Polish documentation and implementation of SpEL's Indexer 2024-05-28 15:29:54 +02:00
spring-instrument Ensure all packages declare package-info.java with null-safety annotations 2023-03-10 17:33:52 +01:00
spring-jcl Log4jLog re-resolves ExtendedLogger on deserialization 2023-11-09 11:46:22 +01:00
spring-jdbc Merge branch '6.1.x' 2024-05-23 08:14:59 +02:00
spring-jms Merge branch '6.1.x' 2024-05-10 12:29:49 +02:00
spring-messaging Use default phase 0 for WebSocket messaging 2024-05-21 15:49:38 +01:00
spring-orm Merge branch '6.1.x' 2024-05-21 11:17:16 +02:00
spring-oxm Merge branch '6.1.x' 2024-05-21 11:17:16 +02:00
spring-r2dbc Remove unneeded `@SuppressWarnings("NullAway")` 2024-05-06 18:28:54 +02:00
spring-test Revise bean override tests with a focus on AOT support 2024-05-31 12:19:31 +02:00
spring-tx Merge branch '6.1.x' 2024-05-07 15:53:00 +02:00
spring-web Do not read Map in FormHttpMessageConverter 2024-05-28 15:25:08 +02:00
spring-webflux Use consistent version strings for 6.2 2024-05-24 15:19:30 +02:00
spring-webmvc Various MultiValueMap improvements 2024-05-24 11:44:55 +02:00
spring-websocket Expose WebSocketMessageBrokerStats contracts 2024-05-27 16:06:32 +02:00
src Add checkstyle rule for "@since" javadoc convention 2024-05-27 09:28:23 +02:00
.editorconfig Add EditorConfig 2017-06-12 08:07:54 +02:00
.gitattributes Ensure line endings for binary files are not modified in Git 2019-10-18 11:56:18 +02:00
.gitignore Modernize Antora Build 2024-05-22 10:20:20 +02:00
.sdkmanrc Upgrade to Java 17.0.11 2024-04-22 12:13:01 +02:00
CODE_OF_CONDUCT.adoc URL Cleanup 2019-03-21 15:08:55 -05:00
CONTRIBUTING.md Update regarding Antora, etc. 2023-07-07 11:18:43 +02:00
LICENSE.txt Add LICENSE.txt file 2019-08-20 22:01:12 +02:00
README.md Merge branch '6.1.x' 2024-03-14 15:05:46 +01:00
SECURITY.md Mention JAR signing key in SECURITY.md 2023-03-17 22:32:33 +01:00
build.gradle Merge branch '6.1.x' 2024-05-22 14:46:33 +02:00
gradle.properties Next development version (v6.1.9-SNAPSHOT) 2024-05-22 16:45:49 +00:00
gradlew Upgrade to Gradle 8.4 2023-10-08 16:08:29 +02:00
gradlew.bat Upgrade to Gradle 8.6 2024-02-03 11:38:56 +01:00
import-into-eclipse.md Remove Groovy from "Eclipse/STS Project Import Guide" 2022-01-21 11:27:09 +01:00
import-into-idea.md Fix links in Javadoc and reference docs 2022-09-14 17:00:11 +02:00
settings.gradle Fix build warnings 2024-04-30 19:10:31 +02:00
update_copyright_headers.sh Use correct Kotlin file extension in update_copyright_headers.sh 2023-02-19 13:41:36 +01:00

README.md

Spring Framework Build Status Revved up by Develocity

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section of the reference documentation for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), GitHub wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Micro-Benchmarks

See the Micro-Benchmarks wiki page.

Build from Source

See the Build from Source wiki page and the CONTRIBUTING.md file.

Continuous Integration Builds

Information regarding CI builds can be found in the Spring Framework Concourse pipeline documentation.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on 𝕏. In-depth articles can be found at The Spring Blog, and releases are announced via our releases feed.

License

The Spring Framework is released under version 2.0 of the Apache License.