Highly testable app architecture with Mobius
summary
Claims that Mobius plus Kotlin coroutines yields a highly testable app architecture, implemented as Mobius + Kotlin + coroutines with Mobius fragments, effect handlers, view states and presenters. Concrete deliverable: a working login feature wired to an effect handler that hits a backend and emits events; tests include pure unit tests of the update function, Espresso instrumentation, g-unit, Mockito and a custom Espresso extension. Result: tests exercise UI and effects and approach targets near 100% feature coverage with pure update function tests for deterministic logic.
AI-written summary · about
chapters (6)
- 0:00Start
- 2:04About Instructure
- 6:52Login Screen
- 9:42User Interface
- 18:54Mobius Fragment
- 21:45Testing the Update
related talks
33mMultiplatform Functional Architecture
22mArchitecting a Kotlin Multiplatform App
41mMaking a Kotlin, Architecture Components, Rx and Coroutines sandwich
48mMobiconf 2018: Ivan Morgillo, Mobimeo
36mTesting: how hard can it be?
41mMVI: a Robust and Modern Architecture
48mBuilding Multi Platform Projects with MVI
33mJUnit 5 Testing: Android Unidirectional Data Flow with LiveData
