Support @TestPropertySource as a repeated annotation #23299
Labels
in: test
Issues in the test module
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
TestPropertySource
is inherited in case of class hierarchy however it is not inherited in meta-annotation hierarchy.The lack of this is made clear by @sbrannen in his answer: https://stackoverflow.com/a/26183692
He says:
Expected behaviour
The settings from the
@CustomTest
andMyTest
should merged as it is merged in case of class inheritance.Rationale
It could give much more flexibility in tests.
The text was updated successfully, but these errors were encountered: