Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- As the system
- I can round down when I compute session durations
- So that clients are happy.
- Scenario outline: record a session and compute the duration (round down to account accuracy)
- Given a tutor Tom logs in
- And the client account's accuracy rate is <accuracy>
- When he submits a start time of <start> and an end time of <end>
- Then the computed time should be <duration> on the sessions page.
- Scenarios: .25 accuracy
- | accuracy | start | end | duration |
- | .25 | 1:16 | 2:37 | 1.25 |
- Scenarios: .1 accuracy
- | accuracy | start | end | duration |
- | .1 | 1:16 | 2:37 | 1.3 |
Add Comment
Please, Sign In to add comment