spring-framework/spring-test
Sam Brannen d185bb1d97 Support @⁠TestBean factory methods defined in interfaces
Prior to this commit, @⁠TestBean factory methods were required to be
defined in the test class or one of its superclasses. However, users
may wish to define common factory methods in interfaces that can be
shared easily across multiple test classes simply by implementing the
necessary interface(s).

This commit therefore switches from ReflectionUtils to
MethodIntrospector to find @⁠TestBean factory methods in implemented
interfaces within the type hierarchy of the test class.

Closes gh-32943
2024-06-03 16:04:46 +02:00
..
src Support @⁠TestBean factory methods defined in interfaces 2024-06-03 16:04:46 +02:00
.springBeans
spring-test.gradle Add support for JSON assertions using JSON compare 2024-03-15 13:28:11 +01:00