spring-framework/framework-docs/modules/ROOT/pages/testing/annotations/integration-spring
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
..
annotation-activeprofiles.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
annotation-aftertransaction.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-beanoverriding.adoc Add support for bean overriding in tests 2024-03-08 16:52:39 +01:00
annotation-beforetransaction.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-bootstrapwith.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
annotation-commit.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-contextconfiguration.adoc Fix link text from "null" to "Component Classes" in Testing chapter 2023-06-22 11:35:23 +02:00
annotation-contextcustomizerfactories.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
annotation-contexthierarchy.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
annotation-dirtiescontext.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
annotation-disabledinaotmode.adoc Document @⁠DisabledInAotMode & @[Enabled|Disabled]InNativeImage in ref docs 2023-11-08 16:22:35 +01:00
annotation-dynamicpropertysource.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
annotation-recordapplicationevents.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
annotation-rollback.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-sql.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-sqlconfig.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-sqlgroup.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-sqlmergemode.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-testexecutionlisteners.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
annotation-testpropertysource.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-webappconfiguration.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00