-
Notifications
You must be signed in to change notification settings - Fork 95
Improve tests expecting exceptions #310
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
Improve tests expecting exceptions #310
Conversation
Codecov ReportAll modified and coverable lines are covered by tests β
Additional details and impacted files@@ Coverage Diff @@
## master #310 +/- ##
=========================================
Coverage 95.48% 95.48%
Complexity 598 598
=========================================
Files 35 35
Lines 1796 1796
=========================================
Hits 1715 1715
Misses 81 81
Flags with carried forward coverage won't be shown. Click here to find out more. β View full report in Codecov by Sentry. |
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 @uuf6429 this is good as-is, but if you have time to add the expected TableNode messages as well that'd be great.
β¦with less general exception
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.
Great, thanks :)
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.
Looking good, thanks @uuf6429
This started out from this suggestion, but then I saw a few other issues which I also fixed:
expectException()+expectExceptionMessage()cases could be replaced withexpectExceptionObject()