JUnit 4 and annotations February 15, 2013 Get link Facebook Twitter 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