I've played with a simple runner so I think we can do away with the common/ stuff
This would leave us with assembly/ which can maybe be moved into impl/.
We'd then end up with test/ which would just contain the skeleton test classes:
@RunWith(ModularJunitTestRunner.class)
@TestModules({...})
@TestSetup(implClass="__ThrowawayTestImpl", ...)
public class __ThrowawayTestCase {
//No @Test methods, they are loaded from the Impl class
}
and the real test in impl
public class __ThrowawayTestImpl{
@Test
public void test1() {
}
@Test
public void test2() {
}
}
This is better, but can it be made simpler somehow?