Here is a login test that most beginners write, and it hides a serious problem:
lecture 9 of 200 completed
Forms and what they refuse
A login test that only tries the correct password would pass on a login that lets anyone in.
What you'll learn
- How to test what a form accepts and what it refuses
- Why checking the error message alone is not enough
- How to list a form's rules before you write any code
members only
Keep reading with the full course
The Foundations track and the first 5 lectures of each framework are free. This lecture is part of the paid course, which unlocks every lecture, all three frameworks, and downloads.
See the options →