You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2018. It is now read-only.
For example, a funcion accepts a number x and must be even. If it is odd raises an InvalidArgumentException.
You might want a a testInvalidArgumentThrowsException with dataprovider [111, 3, 77] as well as testValidArgumentDoesNotThrowException with data provider of [2, 10, 48]
Despite I can test exception with the /** xxx */ comment, I try not thrown via a try/catch.
If there is any way to test "not thrown" I suggest to include in that documentation page. If there is no cleaner way, I also suggest to include it in that documentation.
XedinUnknown, su-narthur, itsazzad, damienflament, lang100 and 3 more