Testing by design
summary
Argues that building an MVI-like state machine with a single source of truth makes functional tests simple and stable, replaces Mockito with reusable test implementations for repositories, and wires a robot pattern to a view binder that records a full state history via ReplaySubject/ReplayRelay so tests block until expected states appear. Shows headless view binders for JVM fast tests, screenshot-driven localization checks, and claims this cuts flaky Espresso work while keeping tests readable and maintainable.
AI-written summary · about
