android10 / android10/Android-CleanArchitecture-Kotlin
Navigator tests pass even if the destination Activity changes
Đang mở
discussion
question
- Ngôn ngữ chính
- Kotlin
- Star
- 4.8k
- Fork
- 929
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Regarding `NavigatorTest`:
```kotlin
@Test fun `should forward user to movies screen`() {
whenever(authenticator.userLoggedIn()).thenReturn(true)
navigator.showMain(activityContext())
verify(authenticator).userLoggedIn()
RouteActivity::class shouldNavigateTo MoviesActivity::class
}
```
if you switch `MoviesActivity` with `LoginActivity` the test still passes
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.