Guest User

Untitled

a guest
Jun 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. As the system
  2. I can round down when I compute session durations
  3. So that clients are happy.
  4.  
  5. Scenario outline: record a session and compute the duration (round down to account accuracy)
  6.  
  7. Given a tutor Tom logs in
  8. And the client account's accuracy rate is <accuracy>
  9. When he submits a start time of <start> and an end time of <end>
  10. Then the computed time should be <duration> on the sessions page.
  11.  
  12. Scenarios: .25 accuracy
  13. | accuracy | start | end | duration |
  14. | .25 | 1:16 | 2:37 | 1.25 |
  15.  
  16. Scenarios: .1 accuracy
  17. | accuracy | start | end | duration |
  18. | .1 | 1:16 | 2:37 | 1.3 |
Add Comment
Please, Sign In to add comment