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

Using JUnit rules to test exceptions #814

Merged
merged 7 commits into from
Sep 24, 2014
Merged

Using JUnit rules to test exceptions #814

merged 7 commits into from
Sep 24, 2014

Conversation

garcia-jj
Copy link
Member

First attempt to use JUnit exception rules. Related to #808.

Since this is not affect dist artifacts, I think that can merged without wait new release.

@garcia-jj
Copy link
Member Author

This pull request will allow us to write tests with few line codes, using a modern and fluent API, catching the properly exceptions (both exception instance and message and not a generic exception type only), and the code will more clear.

Based on this facts, I'll merge even this pull request received no comments.

Thank you devs.

garcia-jj added a commit that referenced this pull request Sep 24, 2014
Using JUnit rules to test exceptions
@garcia-jj garcia-jj merged commit 7487d13 into master Sep 24, 2014
@garcia-jj garcia-jj deleted the ot-gh808-exceptions branch September 24, 2014 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant