JUnit 4 and annotations February 15, 2013 Get link Facebook X Pinterest Email Other Apps @Test(expected=RuntimeException.class) public void yourUnitTest() { ... } This allows you to test an expected exception without any asserts. Comments
Comments
Post a Comment