Cucumber Ltd / jam

Password validationfeatures/authentication/password_validation.feature

Redirect ends the response, so don't end it

Aslak Helles√ły

Currently viewing

Feature: Password validation

In order to give me confidence that Cucumber Pro cares about my security, everyone setting a password must be encouraged to use a strong one.

Rules

  • The password must be at least 6 characters long

Scenario: Too-short password when signing up

  • When AnonymousCoward signs up with a too-short password
  • Then AnonymousCoward should be told to choose a longer password