Skip to content

Should ExecutableInvoker#invoke(Method, Object) run all extensions ? #3014

Closed as not planned

Description

Hello 👋

Toying around with the new extension point ExecutableInvoker, I figured that ExecutableInvoker#invoke(Method, Object) does only run ParameterResolvers.

Should it not run all extensions applicable ?
My reasoning is the following:

  • Any extension can have side effects (such as adding a closable resource into the extension context)
  • If ParameterResolver extensions are executed, but the others are not, may the test not be in an inconsistent state ?

I can provide more utilization context if needed.

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions