spring-framework/framework-docs/modules/ROOT/pages/testing
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
..
annotations Support fully-qualified factory method names in @⁠TestBean 2024-06-30 21:16:04 +02:00
mockmvc Document AssertJ support for MockMvc 2024-06-21 12:51:35 +02:00
testcontext-framework Fix formatting 2024-05-24 13:39:55 +02: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 Document AssertJ support for MockMvc 2024-06-21 12:51:35 +02:00
introduction.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
mockmvc.adoc Document AssertJ support for MockMvc 2024-06-21 12:51:35 +02: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
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 Document AssertJ support for MockMvc 2024-06-21 12:51:35 +02:00
webtestclient.adoc Document AssertJ support for MockMvc 2024-06-21 12:51:35 +02:00