mirror of
https://github.com/hmalik144/Android-Cucumber-BDD-Sample.git
synced 2026-03-18 07:25:56 +00:00
Made the tests in MainPresenter be more specific & made the RandomBookGenerator methods not static to make it mockable.
This commit is contained in:
@@ -27,6 +27,8 @@ android {
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
|
||||
androidTestCompile 'org.mockito:mockito-core:2.5.5'
|
||||
androidTestCompile 'com.linkedin.dexmaker:dexmaker-mockito:2.2.0'
|
||||
androidTestCompile ('com.android.support.test.espresso:espresso-core:2.2.1') {
|
||||
exclude module: 'support-annotations'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user