Skip to content

7shifts/ComIT-Code-Review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

ComIT-Code-Review

TDD Kata 3 Create a Password verifications class called “PasswordVerifier”. Add the following verifications to a master function called “Verify()”

  • password should be larger than 8 chars

  • password should not be null

  • password should have one uppercase letter at least

  • password should have one lowercase letter at least

  • password should have one number at least

    Each one of these should throw an exception with a different message of your choosing

    1. Add feature: Password is OK if at least three of the previous conditions is true

    2. Add feature: password is never OK if item 1.4 is not true.

  1. Assume Each verification takes 1 second to complete. How would you solve items 2 and 3 so tests can run faster?

Taken from https://osherove.com/tdd-kata-3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published