square / assertj-android

A set of AssertJ helpers geared toward testing Android.
https://square.github.io/assertj-android/
Apache License 2.0
1.58k stars 156 forks source link

Running assertj-android in java module with robolectric #146

Closed fbcbl closed 9 years ago

fbcbl commented 9 years ago

Hi,

Is there are any know way to run assertj-android along with robolectric in a java test module? I'm creating a separate module just to run robolectric tests, but when using assertj-android there are some missing dependencies on the android-support:support-annotations.

Thank you!

JakeWharton commented 9 years ago

There is no way to do this currently. #110 is tracking publishing as a jar or simply wait until first-party unit testing support ships in 1.1 of the Gradle Android plugin.