You are evaluating a system that requires a user to login with a "strong" password. The password must satisfy the following requirements:
- Minimum length: 12 characters
- At least one uppercase character
- At least one number
- At least one special symbol
Your goal is to combinatorially test the resetPassword function:
boolean resetPassword (String newPwd);
The resetPassword function takes a string as an input and returns true if the password meets the above requirements. If the password does not meet stated requirements, then the new password is rejected and resetPassword returns false.
- Use each constraint to partition the input space into equivalence classes
- Use weak robust equivalence class testing to create a set of test cases.