Browse Source

Link to spring.factories used in the TestContext framework in the ref docs

Closes gh-31723
pull/30300/head
Per Lundberg 2 years ago committed by Sam Brannen
parent
commit
87d37a21aa
  1. 8
      framework-docs/modules/ROOT/pages/testing/testcontext-framework/ctx-management/context-customizers.adoc
  2. 6
      framework-docs/modules/ROOT/pages/testing/testcontext-framework/tel-config.adoc

8
framework-docs/modules/ROOT/pages/testing/testcontext-framework/ctx-management/context-customizers.adoc

@ -45,10 +45,10 @@ issue is addressed through support for automatic discovery of default
Specifically, the modules that make up the testing support in Spring Framework and Spring Specifically, the modules that make up the testing support in Spring Framework and Spring
Boot declare all core default `ContextCustomizerFactory` implementations under the Boot declare all core default `ContextCustomizerFactory` implementations under the
`org.springframework.test.context.ContextCustomizerFactory` key in their `org.springframework.test.context.ContextCustomizerFactory` key in their
`META-INF/spring.factories` properties files. Third-party frameworks and developers can {spring-framework-code}/spring-test/src/main/resources/META-INF/spring.factories[`META-INF/spring.factories`]
contribute their own `ContextCustomizerFactory` implementations to the list of default properties files. Third-party frameworks and developers can contribute their own
factories in the same manner through their own `META-INF/spring.factories` properties `ContextCustomizerFactory` implementations to the list of default factories in the same
files. manner through their own `META-INF/spring.factories` properties files.
[[testcontext-context-customizers-merging]] [[testcontext-context-customizers-merging]]

6
framework-docs/modules/ROOT/pages/testing/testcontext-framework/tel-config.adoc

@ -82,8 +82,9 @@ issue is addressed through support for automatic discovery of default
Specifically, the `spring-test` module declares all core default `TestExecutionListener` Specifically, the `spring-test` module declares all core default `TestExecutionListener`
implementations under the `org.springframework.test.context.TestExecutionListener` key in implementations under the `org.springframework.test.context.TestExecutionListener` key in
its `META-INF/spring.factories` properties file. Third-party frameworks and developers {spring-framework-code}/spring-test/src/main/resources/META-INF/spring.factories[its
can contribute their own `TestExecutionListener` implementations to the list of default `META-INF/spring.factories` properties file]. Third-party frameworks and developers can
contribute their own `TestExecutionListener` implementations to the list of default
listeners in the same manner through their own `META-INF/spring.factories` properties listeners in the same manner through their own `META-INF/spring.factories` properties
file. file.
@ -207,4 +208,3 @@ Kotlin::
} }
---- ----
====== ======

Loading…
Cancel
Save