Pick the fix
A button's padding change slipped into release unnoticed. Unit tests passed. What would have caught it cheaply?
Hint 1 of 1
Which kind of test sees pixels?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Screenshot tests of the design-system button in its states
Correct. A pixel diff would have shown the padding change in review.
Why not the others?
- B More unit tests on the ViewModel. Padding isn't ViewModel logic.
- C Espresso tests asserting the button exists. It existed; it just looked wrong.
- D Manual QA on every release. Slow and easy to miss.