unit testing - Roboletric test error on Android Studio -
i trying set robolectric unit testing environment on android studio. followed steps here:
http://www.peterfriese.de/android-testing-with-robolectric/
i modified build.gradle file describled in document , sync project. did built , junit , roboelctric jars appear in external library in android studio ide. when ran
./robolectric test
i saw errors:
package org.junit.runner not exist import org.junit.runner.runwith;
...
however package exists in external library, why error still happens? checked project source tree cannot find jars in project. gradle put downloaded jars?
Comments
Post a Comment