Skip to content

Commit

Permalink
Tests in core
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-muszel committed May 6, 2019
1 parent 53c6fb8 commit 05d6fcf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ dependencies {
// Support
api "androidx.appcompat:appcompat:$androidx_appcompat_version"

// Testing as api to let tests package use it
api "junit:junit:$junit_version"
api "org.robolectric:robolectric:$robolectric_version"
api "androidx.test:core:$androidx_test_core_version"
api "org.mockito:mockito-inline:$mockito_inline_version" // Mockito inline adds support for mocking final classes and methods
api "org.assertj:assertj-core:$assertj_version"

// Dagger
api "com.google.dagger:dagger:$dagger_version"
api "com.google.dagger:dagger-android:$dagger_version"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ar.com.wolox.wolmo.core
package ar.com.wolox.wolmo.core.tests

import ar.com.wolox.wolmo.core.presenter.BasePresenter
import org.junit.Before
Expand Down

0 comments on commit 05d6fcf

Please sign in to comment.