Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.4.6
-
None
-
None
Description
Many test cases uses the following logic to test if an exception has been thrown:
try { <do something> fail("Expected exception"); } catch (someException e) { // expected } }
This form is not self-explanatory enough and could be replaced by a one line ExpectedException check which would be more clean.
Attachments
There are no Sub-Tasks for this issue.