No tests found for given includes Error, when running Parameterized Unit test in Android Studio

前端 未结 17 2018
孤独总比滥情好
孤独总比滥情好 2021-01-31 07:03

I tried run Parameterized Unit Test as below in Android Studio.

import android.test.suitebuilder.annotation.SmallTest;  

import junit.framework.TestCase;    

i         


        
17条回答
  •  温柔的废话
    2021-01-31 07:15

    To add to already great and easy solution provided by Przemek315, the same config if you use Kotlin DSL:

    tasks.test {
        useJUnitPlatform()
    }
    

提交回复
热议问题