Question: 1. Use Test-Driven Development to implement a password strength validator. Remember: write a JUnit test first before implementing anything new make small changes to make




1. Use Test-Driven Development to implement a password strength validator. Remember: write a JUnit test first before implementing anything new make small changes to make the test pass - refactor Stage 1: At this stage there is no UI, no Android Activity, just a class (Validator.java) with a validate method that checks whether a string is a sufficiently strong password according to some set of rules, and returns the number of rules that the string passed Begin with implementing these 2 rules: it is not "password" (case insensitive) it is at least 8 characters long
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
