-
Notifications
You must be signed in to change notification settings - Fork 10
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
Disable WireMock banner in the CLI output by default #42
Disable WireMock banner in the CLI output by default #42
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, thanks a lot for the pull request! I think the same test could be better done without Mockito, and that it would be better for future test coverage. So I would suggest an update to the implementation and maybe adding the necessary public or package-scope API
src/main/java/org/wiremock/integrations/testcontainers/WireMockContainer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/wiremock/integrations/testcontainers/WireMockContainer.java
Outdated
Show resolved
Hide resolved
src/test/java/org/wiremock/integrations/testcontainers/WireMockContainerJUnit5Test.java
Outdated
Show resolved
Hide resolved
src/test/java/org/wiremock/integrations/testcontainers/WireMockContainerJUnit5Test.java
Outdated
Show resolved
Hide resolved
src/main/java/org/wiremock/integrations/testcontainers/WireMockContainer.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Oleg Nenashev <[email protected]>
…-michelmann/wiremock-testcontainers-java into feature/disable-banner-by-default
src/main/java/org/wiremock/integrations/testcontainers/WireMockContainer.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with the change per se. @julian-michelmann do you want to exclude the Mockito in this pull request? If not, I can do it in a follow-up PR. Would be nice to integrate the withBanner()
suggestion though
Oh, it's okay I will do this I only need another second. I may convert my PR to draft state, sorry... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the comments!
Now the container is running by default with the cli arg --disabled. When using the verbose flag, the banner is shown when starting.
References
Issue -> #31
Submitter checklist