@Test
public void testCountOnAWithoutSlowTests() {
Result result = JUnitCore.runClasses(SomeAreSlowSuite.class);
assertThat(testResult(SomeAreSlowSuite.class), isSuccessful());
assertEquals(2, result.getRunCount());
assertTrue(result.wasSuccessful());
}
@RunWith(Categories.class)
@ExcludeCategory(Category1.class)
@IncludeCategory(Category2.class)