spring-framework/framework-docs/modules/ROOT/pages/testing
Simon Baslé e1bbdf0913 Add support for bean overriding in tests
This commit introduces two sets of annotations (`@TestBean` on one side
and `MockitoBean`/`MockitoSpyBean` on the other side), as well as an
extension mecanism based on the `@BeanOverride` meta-annotation.

Extension implementors are expected to only provide an annotation,
a BeanOverrideProcessor implementation and an OverrideMetadata subclass.

Closes gh-29917.
2024-03-08 16:52:39 +01:00
..
annotations Add support for bean overriding in tests 2024-03-08 16:52:39 +01:00
spring-mvc-test-framework In Kotlin variables should be defined as val or var. "mockMvc" was not defined properly 2024-02-07 23:27:11 +01:00
testcontext-framework Polish contribution 2023-12-04 15:17:52 +01:00
annotations.adoc Remove duplicated section links for test annotations 2023-09-13 17:50:12 +02:00
appendix.adoc Trim IDs with parent 2023-05-04 15:35:05 +01:00
integration.adoc Fix cross references 2023-05-04 15:35:05 +01:00
introduction.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
resources.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
spring-mvc-test-client.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
spring-mvc-test-framework.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
support-jdbc.adoc Fix cross references 2023-05-04 15:35:05 +01:00
testcontext-framework.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
unit.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
webtestclient.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00