A successful new user registration requires the following validdata:
â¦Â  User name: it must start with a letter and consistof only letters and digits without any space character. User nameis case insensitive. Different users must have different usernames.
â¦Â  Password: it must have at least six characters,consist of only letters, digits, and special characters (@, #, $,^, &), and at least one upper-case letter, one lower-caseletter, one digit, and one special character.
â¦Â  First name: it must consist of only letters
â¦Â  Last name: it must consist of only letters
â¦Â  Email address: it must be a valid email address
â¦Â  Phone number: it must include three-digit area codeand seven digit phone number
Describe comprehensive acceptance criteria for the“register new user†and “login†user stories which uses thefollowing method names:
â¦Â  public String registerNewUser(String userName,String password, String reenteredPassword, String firstName, StringlastName, String email, String phone)
â¦Â  public UserAccount login(String userName, Stringpassword)
The acceptance criteria for “register new user†should considerwhether or not reenteredPassword matches password.