square / assertj-android

A set of AssertJ helpers geared toward testing Android.

Home Page:https://square.github.io/assertj-android/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running assertj-android in java module with robolectric

fbcbl opened this issue · comments

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!

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.