osama-raddad/android-test-kit

Upgrade Hamcrest dependency to lastest version

Opened this issue · 6 comments

Upgrade Espresso's Hamcrest dependency to lastest version.

Original issue reported on code.google.com by YogurtE...@gmail.com on 12 May 2014 at 5:46

Just wondering - is this for using new features in latest hamcrest or for some 
other purpose?

Original comment by vale...@google.com on 9 Jun 2014 at 10:11

  • Changed state: Accepted
New features of hamcrest, I think StringContains is only in 1.3+ 
http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/core/StringContains.ht
ml


Original comment by YogurtE...@gmail.com on 11 Jun 2014 at 3:51

[deleted comment]
looks like I can modify my build.gradle to look like this:

androidTestCompile 'org.hamcrest:java-hamcrest:2.0.0.0'
    androidTestCompile ('com.android.support.test.espresso:espresso-core:2.0') {
        exclude group: 'org.hamcrest'
    }
    androidTestCompile ('com.android.support.test:testing-support-lib:0.1') {
        exclude group: 'org.hamcrest'
    }

And get new features of hamcrest working.

Original comment by eric.b.h...@gmail.com on 24 Feb 2015 at 11:11

Issue 124 has been merged into this issue.

Original comment by vale...@google.com on 18 Mar 2015 at 5:52

Original comment by nkors...@google.com on 5 May 2015 at 6:03