Skip to content

Introduce per-invocation lifecycle callbacks for container templates #4320

@marcphilipp

Description

@marcphilipp

Follow-up on #871.

Analoguous to BeforeAllCallback etc., new BeforeContainerTemplateInvocationCallback/AfterContainerTemplateInvocationCallback (names to be discussed) extension interfaces should be introduced as well to externalizing behavior to extensions.

Deliverables

  • Introduce BeforeContainerTemplateInvocationCallback/AfterContainerTemplateInvocationCallback extension points
  • Use them to implement field injection for @ParameterizedContainer in case TestInstance.Lifecycle.PER_CLASS is used

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions