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

Disable WireMock banner in the CLI output by default #42

Conversation

julian-michelmann
Copy link
Contributor

@julian-michelmann julian-michelmann commented May 22, 2023

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

  • The PR request is well described and justified, including the body and the references
  • The PR title represents the desired changelog entry
  • The repository's code style is followed (see the contributing guide)
  • Test coverage that demonstrates that the change works as expected
  • For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

@oleg-nenashev oleg-nenashev added the enhancement New feature or request label May 23, 2023
Copy link
Member

@oleg-nenashev oleg-nenashev left a 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

julian-michelmann and others added 3 commits May 23, 2023 11:39
Co-authored-by: Oleg Nenashev <[email protected]>
…-michelmann/wiremock-testcontainers-java into feature/disable-banner-by-default
@julian-michelmann julian-michelmann changed the title Disable banner by default when container is not running verbose Disable banner by default May 23, 2023
Copy link
Member

@oleg-nenashev oleg-nenashev left a 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

@oleg-nenashev oleg-nenashev changed the title Disable banner by default Disable WireMock banner in the CLI output by default May 23, 2023
@julian-michelmann
Copy link
Contributor Author

Oh, it's okay I will do this I only need another second. I may convert my PR to draft state, sorry...

@julian-michelmann julian-michelmann marked this pull request as draft May 23, 2023 14:11
@julian-michelmann julian-michelmann marked this pull request as ready for review May 23, 2023 16:25
Copy link
Member

@oleg-nenashev oleg-nenashev left a 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!

@oleg-nenashev oleg-nenashev merged commit 5051fe9 into wiremock:main May 24, 2023
@julian-michelmann julian-michelmann deleted the feature/disable-banner-by-default branch May 24, 2023 08:34
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

Successfully merging this pull request may close these issues.

2 participants