Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functional test with AndroidTestRule #84

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update dependencies and add android test runner / rule
MehdiChouag committed Nov 26, 2015
commit 486e613fb4fc4b8c79b1bc2990d519c5e96b9682
13 changes: 7 additions & 6 deletions buildsystem/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -15,11 +15,11 @@ ext {
daggerVersion = '2.0.2'
butterKnifeVersion = '7.0.1'
recyclerViewVersion = '21.0.3'
rxJavaVersion = '1.0.14'
rxJavaVersion = '1.0.16'
rxAndroidVersion = '1.0.1'
javaxAnnotationVersion = '1.0'
gsonVersion = '2.3'
okHttpVersion = '2.5.0'
gsonVersion = '2.4'
okHttpVersion = '2.6.0'
androidAnnotationsVersion = '21.0.3'

//Testing
@@ -28,8 +28,8 @@ ext {
assertJVersion = '1.7.1'
mockitoVersion = '1.9.5'
dexmakerVersion = '1.0'
espressoVersion = '2.0'
testingSupportLibVersion = '0.1'
espressoVersion = '2.2.1'
testingSupportLibVersion = '0.4.1'


presentationDependencies = [
@@ -47,7 +47,8 @@ ext {
dexmaker: "com.google.dexmaker:dexmaker:${dexmakerVersion}",
dexmakerMockito: "com.google.dexmaker:dexmaker-mockito:${dexmakerVersion}",
espresso: "com.android.support.test.espresso:espresso-core:${espressoVersion}",
testingSupportLib: "com.android.support.test:testing-support-lib:${testingSupportLibVersion}",
testRules: "com.android.support.test:rules:${testingSupportLibVersion}",
testRunner: "com.android.support.test:rules:${testingSupportLibVersion}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MehdiChouag this must be com.android.support.test:runner not rules.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spirosoik Just for the line 51 or for both 50 and 51 ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MehdiChouag for 51. Now you have twice the same thing but you forgot the runner.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly, thanks I'll modify it.

]

domainDependencies = [