Created
April 19, 2012 23:35
-
-
Save relaxdiego/2424861 to your computer and use it in GitHub Desktop.
Reasons...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario Outline: Create a user with certain attributes | |
Given I am authorized to create users in the system | |
And a user with username <Username> does not exist in the system | |
When I create a user with attributes <Username>, <Email>, <Password>, and <Password Confirmation> | |
Then the user will be <Created or Not> | |
Examples: Valid User Attributes | |
| Username | Email | Password | Password Confirmation | Created or Not | | |
| astark | astark@gmail.com | fkd2350a | fkd2350a | Created | | |
| astark | astark@gmail.com | ++afd]3b | ++afd]3b | Created | | |
Examples: Invalid User Attributes | |
| Username | Email | Password | Password Confirmation | Created or Not | Reason | | |
| (None) | astark@gmail.com | fkd2350a | fkd2350a | Not Created | Username can't be empty | | |
| astark+ | astark@gmail.com | fkd2350a | fkd2350a | Not Created | Username can only contain alphanumeric characters | | |
| astark | (None) | fkd2350a | fkd2350a | Not Created | Email can't be empty | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment