Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A JUnit @rule which launches an activity when your test starts. Stop extending gross ActivityInstrumentationBarfCase2!
@stefanlam88
Copy link

stefanlam88 commented Aug 25, 2015

hi all, need your expertise here. I m not sure why my JUnit4.class is in red color. I already sync gradle

/* JUnit4 & Espresso */
androidTestCompile 'com.android.support.test🏃0.3'
// Set this dependency to use JUnit 4 rules
androidTestCompile 'com.android.support.test:rules:0.3'

but not working?any 1 know why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment