Sha256: 9b795dbec3c83542cb0cada8e0e6b4ed001848894a8d9579c63fafb48a60c7be

Contents?: true

Size: 652 Bytes

Versions: 1

Compression:

Stored size: 652 Bytes

Contents

Feature: Pwm

  In order to generate random passwords
  As a person needing random passwords
  I want to use the pwm command-line tool

  Scenario: Generating a password of no specific length
    When I run `pwm`
    Then the password should be 16 characters long
    And the exit status should be 0

  Scenario: Generating a password of a valid specific length
    When I run `pwm 8`
    Then the password should be 8 characters long
    And the exit status should be 0

  Scenario: Generating a password of an invalid specific length
    When I run `pwm 4`
    Then the output should contain "length must be >= 8"
    And the exit status should be 1

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pwm-1.2.2 features/pwm.feature