Created
November 3, 2013 21:56
-
-
Save realtimeprojects/7295331 to your computer and use it in GitHub Desktop.
BDD rules in testing :-)
This file contains hidden or 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
Feature: Login to quixplorer | |
In order to have sophisticated access control to quixplorer | |
I login to quixplorer to see if authentication procedures work | |
Scenario: Perparation | |
Given I have the reference configuration | |
Scenario: Login basic mask | |
When I run login function on quixplorer | |
Then I expect success and result containing "Login" | |
Scenario: Login invalid user | |
When I run login function on quixplorer with p_user=nonexistent_user&p_pass=invalid | |
Then I expect an error "Login failed: nonexistent_user" | |
Scenario: Login user with wrong password | |
When I run login function on quixplorer with p_user=admin&p_pass=invalid | |
Then I expect an error "Login failed: admin" | |
Scenario: Login user with correct password | |
When I run login function on quixplorer with p_user=admin&p_pass=pwd_admin | |
Then I expect success and result containing "action=logout" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment