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
Spring's JUnit4 SpringMethodRoadie doesn't catch a AssumptionViolatedException in #runBefores, differing in functionality from JUnit4's MethodRoadie#runBefores.
The below test class succeeds (via assumption being false) with JUnit4ClassRunner, but fails with SpringJUnit4ClassRunner (due to AssumptionViolatedException being thrown in assumeFalse()).
public static class BeforeMethodTest { @Before
public void assumeFalse()
{
assumeTrue(false);
}
@Test public void failure()
{
fail("Before method test");
}