Skip to content

Top-level/standalone @ConfigureWireMock handling #193

@j-klingstedt

Description

@j-klingstedt

Would it be possible to have the WireMockContextCustomizerFactory handle both @ConfigureWireMock annotations nested within @EnableWireMock (as it works right now) as well as "top-level", or standalone?

Our use-case is that we have an integration-test meta-annotation that includes a number of other annotations, mainly for convenience and to not have to repeat stuff over and over again. On a couple of the included annotations, we use @AliasFor to rewrite/alias properties, but since the WireMock Spring Boot starter afaik only takes the nested configuration annotation into account, we won't be able to go the alias way.

I realize that this might of course lead to questions regarding priority in case both exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions