Skip to content

Add listeners alias for @TestExecutionListeners' value attribute [SPR-6104] #10772

Closed
@spring-projects-issues

Description

@spring-projects-issues

Sam Brannen opened SPR-6104 and commented

Status quo:

@TestExecutionListeners(value = MyTestExecutionListener.class, inheritListeners = false)
public class ExampleTests extends BaseTests {
}

Goal:

@TestExecutionListeners(listeners = MyTestExecutionListener.class, inheritListeners = false)
public class ExampleTests extends BaseTests {
}

Obviously, support for the configuration style using value must be maintained.


Affects: 2.5.6

Referenced from: commits f1bfcf0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions