lecture 14 of 220 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

Here is a login test that most beginners write, and it hides a serious problem:

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 →