Ad
  • Custom User Avatar

    This kata is horrible in it's current state. Here's some constructive feedback:

    • Make ALL the requirements for a valid solution into bulletpoints
    • Give the user better tests to show WHY it shouldn't test true when there are special characters in the password

    For everybody who's having problems with this kata, here's what your function needs to do:

    • Check that only alphanumericals exist in the password (i.e. only 0-9, a-z and A-Z are allowed)
    • Total length is at least 6 characters
    • Contains at least one CAPITAL letter (A-Z), lowercase letter (a-z) and a number (0-9)

    If these requirements are not met, your functions needs to return false.