spring-projects / spring-projects/spring-framework
Allow additional ParameterResolver implementations to be registered in SpringExtension
Open
@sbrannen is already working on this.
Since Oct 29, 2025.
in: test
status: waiting-for-triage
- Dominant language
- Java
- Stars
- 60.2k
- Forks
- 38.8k
- Avg merge
- 5d 2h
- Merged PRs (30d)
- 27
Description
I am spiking on a few ideas around org.junit.jupiter.api.extension.ParameterResolver that requires access to the ApplicationContext. Since Spring Framework has support for @Autowired, I thought that looking at the code would help me apply the same pattern in my own implementation.
As far as I understand, the retrieval of the context has no public API. If that is correct, I'd like that a ParameterResolver implementation could get hold of the ApplicationContext based on an ExtensionContext.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.