bmlct / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

Unable to import JUnit4.class #175

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi guys,
     I m facing some issues whereby I unable to import JUnit4.class into my testing script. It becomes red colors.

testCompile('junit:junit:4.12') {
        exclude module: "hamcrest-core"
    }

    androidTestCompile 'com.android.support.test:testing-support-lib:0.1'
    /* JUnit4 & Espresso */
    androidTestCompile 'com.android.support.test:runner:0.3'
    // Set this dependency to use JUnit 4 rules
    androidTestCompile 'com.android.support.test:rules:0.3'
    // Set this dependency to build and run Espresso tests
    androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2'

anything wrong with my code?

Original issue reported on code.google.com by stefanla...@gmail.com on 26 Aug 2015 at 2:15

GoogleCodeExporter commented 9 years ago

Original comment by slinz...@google.com on 15 Sep 2015 at 10:58