I want to create runner for my test classes that based on JUnit-5.
In the first I tried to use with this construction.
@RunWith(JUnitPlatform.class)
@SelectClasses(UserAPITest.class)
public class UserAPITestRunner {
}
But in doesn't work. If I understand correctly, then with the help of such a runner I can run JUnit4 based.
How we can run suite JUnit5 tests?