Skip to content

Support @TestPropertySource as a repeated annotation [SPR-17454] #21986

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

Closed
spring-projects-issues opened this issue Nov 1, 2018 · 1 comment
Assignees
Labels
in: test Issues in the test module status: superseded An issue that has been superseded by another type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link
Collaborator

shollander opened SPR-17454 and commented

@TestPropertySource should ideally be supported as a repeatable annotation, just like @PropertySource is.

One use case for me is to create custom composed annotations with different @TestPropertySource declarations to provide a clear and non-error prone method of setting various properties for integration tests.

It would be very useful to be able to use a combination of multiple composed annotations with different @TestPropertySource declarations.


No further details from SPR-17454

@spring-projects-issues spring-projects-issues added in: test Issues in the test module type: enhancement A general enhancement labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.x Backlog milestone Jan 11, 2019
@sbrannen sbrannen self-assigned this Jan 15, 2019
@sbrannen sbrannen removed this from the 5.x Backlog milestone Jul 20, 2019
@sbrannen
Copy link
Member

Superseded by gh-23320

@sbrannen sbrannen added the status: superseded An issue that has been superseded by another label Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module status: superseded An issue that has been superseded by another type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants