Using JUnit 5. I want to run similar tests with slight implementation differences. I want the sub classes to run in a particular order and repeat.
I use a base class
public abstract class BaseTest {
@RepeatedTest(2)
@Order(1)
abstract void testSomething();
@RepeatedTest(2)
@Order(2)
abstract void testSomethingElse();
}
But when I extend this class and implement the methods. It says No Tests Found.
Any ideas on how to do this?
TIA