Skip to content

Document how to use spring.factories to add auto-configuration to a test slice #22531

@wilkinsona

Description

@wilkinsona

#6001 and #6335 made it possible to add auto-configuration to a test slice by listing it in spring.factories but it was only documented in the javadoc of @ImportAutoConfiguration. Prompted by a discussion on Gitter with @jnizet, we should also mention it in the reference documentation. The "Additional Auto-configuration and Slicing" section is probably the right place for it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions