Question: To write good tests we need to know what the code is supposed to do...what are the requirements? Let's create a simple password validator.

To write good tests we need to know what the code is supposed to do...what are the requirements? Let's create a simple password validator. It is going to take in a password String and return true if the password meets certain strength criteria and false otherwise. To meet the criteria, the password must have: A length of at least 8 At least one special character At least one uppercase character 13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
