fest-assert-2.x
fest-assert-2.x copied to clipboard
Cannot use fest-assert for POJO Unit tests in an Android project
Since there is no java.awt included in Android when we try to do a test compile we see the following:
Error:(22, 5) Gradle: error: cannot access BufferedImage
class file for java.awt.image.BufferedImage not found
Can we get a module that is stripped of java.awt and is NOT targeting Android classes but will work with Android?
Hmmm... looks like 2.0M8 fixes this? Just looked at the release notes.
Should I be using fest-assert or fest-assert-core?
you could try assertj-core 1.x, it's android compatible or even better https://github.com/square/assertj-android.