My Java test do not compile, I run it and have:
no junit tests could not find main class (specified in run-configuration)
My Java test do not compile, I run it and have:
no junit tests could not find main class (specified in run-configuration)
You don't have any @Test methods in your class.
JUnit4 looks for methods annotated with @Test - if it doesn't find any in a class, it omits that class completely.
I agree with Peter
@Test
public void testSomeBehavior() {
assertEquals("Empty list should have 0 elements", 0, emptyList.size());
}