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

Add Hamcrest matchers for Secret and Pattern #130

Merged
merged 1 commit into from
Jun 4, 2019

Conversation

jvz
Copy link
Member

@jvz jvz commented Apr 26, 2019

I noticed while reviewing jenkinsci/configuration-as-code-plugin#862 that it'd be nice to have matchers for Secret. I also added one for regular expressions as Hamcrest doesn't come with one by default despite being rather generic.

@reviewbybees

Signed-off-by: Matt Sicker <boards@gmail.com>
@jetersen
Copy link
Member

Uhh I have several things I want added was not aware this was the repo to submit those to 😅

@jvz
Copy link
Member Author

jvz commented Apr 26, 2019

Another alternative is AssertJ, though not many Jenkins plugins use it.

Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

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.

LGTM, thanks @jvz !

@oleg-nenashev oleg-nenashev merged commit 40227eb into jenkinsci:master Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants