Skip to content

Parameter resolvers should be able to access the invocation context for test templates #704

Closed

Description

Overview

When a TestTemplateInvocationContextProvider is created, its provide() method must return a Stream of TestTemplateInvocationContexts.

I've extended/implemented TestTemplateInvocationContext to include context that is specific to the tests that will be executed. As the TestEngine iterates over these invocation contexts, parameter resolution (via one or more ParameterResolvers) is performed. It appears that there's no way for the invocation's parameter resolvers to obtain the context provided by the TestTemplateInvocationContextProvider.

  • Feature request. Make the invocation context available to the extensions that it adds to the invocation.

Related Issues

Deliverables

  • ?
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