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
It's generally agreed that using the expected attribute of the @Test annotation can be problematic. At the very least, it's very limiting. We should update the @Test Javadoc to mention ExpectedException as the preferred alternative.
Provide information about alternatives to the expected parameter which
can be used to overcome the limitations of expected.
This is an improvement for JUnit 4.13 to the fix for junit-team#806
(84dcb64).
Provide information about alternatives to the expected parameter which
can be used to overcome the limitations of expected.
This is an improvement for JUnit 4.13 to the fix for #806
(84dcb64).
It's generally agreed that using the
expected
attribute of the@Test
annotation can be problematic. At the very least, it's very limiting. We should update the@Test
Javadoc to mentionExpectedException
as the preferred alternative.See #801 for details
The text was updated successfully, but these errors were encountered: