Skip to content

Commit

Permalink
Merge pull request #318 from toquete/races_robolectric_tests
Browse files Browse the repository at this point in the history
Moving races instrumented tests to unit tests
  • Loading branch information
toquete authored Nov 17, 2024
2 parents 36f6798 + 7918957 commit bc0c8ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion feature/races/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies {
implementation(project(":domain:races"))

testImplementation(project(":core:testing"))
androidTestImplementation(project(":core:testing"))
testImplementation(libs.robolectric)
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
package com.toquete.boxbox.feature.races
package com.toquete.boxbox.feature.races.ui

import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.assertTextEquals
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithTag
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.toquete.boxbox.core.testing.data.races
import com.toquete.boxbox.core.ui.theme.BoxBoxTheme
import com.toquete.boxbox.feature.races.ui.RaceItem
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@RunWith(AndroidJUnit4::class)
class RaceItemTest {

@get:Rule
Expand Down

0 comments on commit bc0c8ff

Please sign in to comment.