Created
November 20, 2014 21:49
-
-
Save RX14/b0c8ed2ff6e7df330b0e to your computer and use it in GitHub Desktop.
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: Quiz | |
In order to test my maths skills | |
As a student | |
I want to be able to take an arithmetic quiz | |
Scenario: Collect user info | |
Given I visit the url "/quiz" | |
And I fill in "Test" for "firstname" | |
And I fill in "User" for "lastname" | |
When I press "Start Test" | |
Then I should see "Test User" | |
Scenario: Test the user | |
Given a test | |
Then I should see 10 questions | |
And I should see 10 input boxes | |
Scenario: Validate the results | |
Given a test | |
And I have filled out the test correctly | |
When I press "Submit Test" | |
Then I should see "10/10" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment