Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way for TestInstanceFactory implementations to use any existing ParameterResolver extensions #2732

Closed
dweiss opened this issue Sep 29, 2021 · 2 comments

Comments

@dweiss
Copy link
Contributor

dweiss commented Sep 29, 2021

It would be great if the API provided a way for custom test instance factories to leverage the existing infrastructure for processing constructor parameters (what ExecutableInvoker does, internally). Otherwise you're forced to recreate the same functionality so that parameter resolvers work, for example. In fact, I'm not even sure it'd be possible to recreate it in an identical way (because the extension registry is not available)?

@sbrannen
Copy link
Member

Hi @dweiss,

Thanks for raising the issue.

We agree: that should be possible: #2393 (comment)

So I'm closing this as a duplicate of #2393.

@dweiss
Copy link
Contributor Author

dweiss commented Sep 29, 2021

Ah, sorry - I scanned the existing issues but didn't find this one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants