The test have 3 parts:
Defining rules which makes password secure. Please note example rule has been defined - password should not be shorter than 10 characters.
Implement body of validatePassword function so all rules defined in part 1 are checked. Please not checking against length has already been implemented.
Write unit tests for passord validation. Please note example test validatePasswordCantBeEmptyStringTest has been added.
Please fork this repository and create PR. Good luck!