News for hackers. Stuff that matters.
Re:IntelliJ IDEA 13 Brings a Full Bag of Goodies to Android ... by lnanek2 on Wednesday December 11, 2013 @10:47AM (#6888166)
Weird, I know we have Robotium and Robolectric working fine in Android Studio at work. Although some versions do require a separate project, most versions are just sub-projects under a main folder with a shared build.gradle now. Not than any of us want to use it. You are just forced to if you want to use the latest features like AARs with Gradle. Eclipse is unfortunately obsolete and incapable of handling the latest stuff, even though we all used it for years and prefer it.
Re:IntelliJ IDEA 13 Brings a Full Bag of Goodies to Android ... by swanson on Wednesday December 11, 2013 @11:28AM (#6888458)
Last I checked (October) I could not get the build.gradle to play nicely. Most of the other material online involved using instrumentCompile to trick Android Studio into running your unit tests and a custom runner/plugin: https://github.com/JakeWharton/gradle-android-test-plugin

If you have gotten it working in Android Studio, I'd be very keen to see how (if you are willing to share).

Re:IntelliJ IDEA 13 Brings a Full Bag of Goodies to Android ... by harpb on Wednesday December 11, 2013 @09:07PM (#6892423)
I followed: http://www.peterfriese.de/android-testing-with-robolectric/ I can't get it to run a specific (gives junit 3.8+ required error), but am able to run the whole suit.
Re:IntelliJ IDEA 13 Brings a Full Bag of Goodies to Android ... by ch0wn on Wednesday December 11, 2013 @08:22PM (#6892202)
I'd also be very interested in learning how to set up Android Studio to run Robolectric. Especially sinceone of the last releases removed the option to mark custom directories as test folders, so tat I now can't even use any Java features in the editor.