I see you are using @RunWith(JUnitPlatform::class)
which basically says "hey, please JUnit5, run my JUnit 4 tests!" but then you have used org.junit.jupiter.api.Test
annotation, which tells the platform that those are JUnit5 tests.
So actually, there are no JUnit 4 tests to run.
I'd suggest you to drop the Suite at all and if you want test suites use nested classes. Or use Tag
annotation to group tests.
By default, JUnit5 will run all @Test
methods you have in the test src path. Check your gradle config for those.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…