spring-framework/framework-docs/modules/ROOT/pages/testing/annotations
Sam Brannen cc002875c4 Support fully-qualified factory method names in @⁠TestBean
Prior to this commit, @⁠TestBean factory methods had to be defined in
the test class, one of its superclasses, or in an implemented
interface. However, users may wish to define common factory methods in
external classes that can be shared easily across multiple test classes
simply by referencing an external method via a fully-qualified method
name.

To address that, this commit introduces support for referencing a
@⁠TestBean factory method via its fully-qualified method name following
the syntax <fully-qualified class name>#<method name>.

Closes gh-33125
2024-06-30 21:16:04 +02:00
..
integration-spring Support fully-qualified factory method names in @⁠TestBean 2024-06-30 21:16:04 +02:00
integration-junit-jupiter.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
integration-junit4.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
integration-meta.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
integration-spring.adoc Polish "Bean Overriding in Tests" support 2024-04-16 17:08:15 +02:00
integration-standard.adoc Fix cross references 2023-05-04 15:35:05 +01:00