Skip to content
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

Merging WireMock configurations from test class and it's superclasses. #75

Open
welovelain opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@welovelain
Copy link

Proposal

If I have @EnableWireMock with few wiremock instances on my test superclass and one on my test, then only one used is the annotation on my test, superclass wiremock is silently not processed, which leads to unexpected behavior, when I need a few wiremocks for all my tests, for example, and custom wiremock for only one test.

My recommendation would be to merge wiremock configurations, processing all superclasses, or at least throw some exception, if such situation happens.

References

No response

@welovelain welovelain added the enhancement New feature or request label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant