Skip to content

oaknorthbank/tdd-password-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goal

We want to ensure that our users' passwords have the following rules:

 - Have more than 8 characters
 - Contains a capital letter
 - Contains a lowercase
 - Contains a number
 - Contains an underscore

Key

This kata shows the importance of:

  • Selecting good examples

  • Selecting the test order

  • Having good assertions (testing only one thing and being always true)