Sha256: 50576e7d98297e8b081aea9d16d84cdc8f47b58a5b339ab44b6529cb5c0775b0

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

@announce-cmd
@posix
Feature: Password Generation

	In order to use a secure password for my login
	As an end user
	I want to get a strong randomly generated password

	Scenario: Generate a random password of default length
		When I run `pwqgen.rb`
		Then the output should match /^[A-Za-z]{3,9}([-_!$&*+=23456789][A-Za-z]{3,9}){2}$/

	Scenario: Generate a random password of length 2
		When I run `pwqgen.rb 2`
		Then the output should match /^[A-Za-z]{3,9}([-_!$&*+=23456789][A-Za-z]{3,9}){1}$/

	Scenario: Generate a random password of length 5
		When I run `pwqgen.rb 5`
		Then the output should match /^[A-Za-z]{3,9}([-_!$&*+=23456789][A-Za-z]{3,9}){4}$/


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pwqgen.rb-0.1.0 features/password_generation.feature