Sha256: 8f5c1a4c27e4071fdbc9d997a7b02c564d9c95a8f8acbc1847322d1d4f7237a3

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 the default 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.1 features/pwm.feature