Created
April 7, 2020 23:46
-
-
Save MoonTahoe/7d30ff872f401b58865d661942e52bf2 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: Timing an Agenda | |
As a Leader I want to time my agendas | |
so that I can know how long it really takes | |
to run my agendas | |
Background: | |
Given the following agenda: | |
| HOW TO CAMP | time | | |
| What is camping? | 3 min | | |
| History of camping | 2 min | | |
| What to bring | 4 min | | |
| What to leave at home | 2 min | | |
| Exercise: Planning a trip | 10 min | | |
When I start the "how to camp" agenda | |
Scenario: Timing the full agenda | |
When I wait 2 min | |
And I progress the agenda | |
And I wait 1 min | |
And I progress the agenda | |
And I wait 3 min | |
And I progress the agenda | |
And I wait 1 min | |
And I progress the agenda | |
And I wait 10 min | |
And I end the agenda | |
Then this session should be added to previous sessions | |
And the start time should be recorded | |
And the end time should be recorded | |
And the total time for the session should be 17 minutes | |
And the raw time is recorded for each item | |
And the time recorded should be: | |
| HOW TO CAMP | est | actual | | |
| What is camping? | 3 min | 2 min | | |
| History of camping | 2 min | 1 min | | |
| What to bring | 4 min | 3 min | | |
| What to leave at home | 2 min | 1 min | | |
| Exercise: Planning a trip | 10 min | 10 min | | |
Scenario: Timing a partial Agenda | |
When I wait 3 min | |
And I progress the agenda | |
And I wait 2 min | |
And I end the agenda | |
And the time recorded should be: | |
| HOW TO CAMP | est | actual | | |
| What is camping? | 3 min | 3 min | | |
| History of camping | 2 min | 2 min | | |
Scenario: Timing Multiple Agendas | |
When I wait 2 min | |
And I end the agenda | |
When I start the "how to camp" agenda | |
And I wait 3 min | |
And I end the agenda | |
Then I should have recorded the following sessions: | |
| session | actual | | |
| how to camp | 2 min | | |
| how to camp | 3 min | | |
Scenario: Jumping around the agenda | |
When I wait 30 sec | |
And I progress the agenda | |
And I wait 1 min | |
And I regress the agenda | |
And I wait 90 sec | |
And I progress the agenda 3 times | |
And I wait 1 min | |
And I regress the agenda 2 times | |
And I wait 10 min | |
And I end the agenda | |
Then the time recorded should be: | |
| HOW TO CAMP | est | actual | | |
| What is camping? | 3 min | 2 min | | |
| History of camping | 2 min | 11 min | | |
| What to leave at home | 2 min | 1 min | | |
Scenario: Overall Time | |
When I wait 5 min | |
Then I should have 16 min remaining | |
When I wait 5 min | |
Then I should have 11 min remaining | |
When I wait 8 min | |
Then I should have 3 min remaining | |
When I wait 4 min | |
Then I should have -1 min remaining | |
Scenario: Not recording paused time | |
When I wait 5 min | |
Then I should have 16 min remaining | |
When I pause the agenda | |
And I wait 3 min | |
Then I should have 16 min remaining | |
When I unpause the agenda | |
And I wait 3 min | |
Then I should have 13 min remaining | |
When I pause the agenda | |
And I wait 5 min | |
Then I should have 13 min remaining | |
And I unpause the agenda | |
And I wait 2 min | |
Then I should have 11 min remaining |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment