After this lesson you will
- Make a reducer branch or a use-case rule testable
- Assert a reducer's full result contract: state, effects and async operation
- Choose commonTest or androidHostTest for a test, and write fakes instead of MockK in shared code
Duration5 min
DifficultyIntermediate
Test Reducers And Use Cases
Start testing where it's fastest and most valuable.
- 01Lesson Goal
- 02Part 1: The Behavior Card Of A Reducer
- 03Part 2: Test A Use Case With Hand-Written Fakes
- 04Part 3: The Test Matrix By Layer
- 05Code Reading Path
- 06Signs To Avoid
- 07References
- 08Key Takeaways
Topics: mobile-action-pro, release-readiness
8 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: The Behavior Card Of A Reducer, … — plus 114 lessons in this course, source code and checklists.
Unlock Mobile Action ProOne-time payment — lifetime access — 7-day money-back. Already purchased? Sign in