How to Test an AI-Generated App as a Beginner
Updated · Tech checked
Normal, empty, invalid, mobile and old-feature matrix: five checks with expected values written before running. Lab A21.
The direct answer
Test every feature with five rows: normal input, empty input, invalid input, 360px mobile layout, one old feature that must survive. Write the expected value per row first. A feature passes only when all five pass.
Example matrix
Quote math: 3 hours plus 20 materials totals 210; empty hours explains; negative materials rejected; 360px no scroll; save still works after the math fix.
Method and mistakes
Expected before actual; one row at a time; failing test first, fix second. The failure is it opens testing: one happy path and confidence.
Frequently asked questions
Do I need a test framework? No. Written steps with expected values count; the runner habit matters, not the library.
How many tests for the capstone? At least five runnable or step-by-step repeatable checks, listed in the delivery.
Sources and review
- Lessons M07 and lab A21 (this site). Last review: 2026-10-04.