-
Notifications
You must be signed in to change notification settings - Fork 6
/
testing-strategy.txt
71 lines (60 loc) · 4.22 KB
/
testing-strategy.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Pebble Custom Workout Timer - Manual Testing Strategy:
Pebble Side Tests
First Use:
Check that instructions page shows
Adding Workouts:
All workouts entered should be displayed on the Pebble
Basic Timer:
Starting a timer should show the first move along with a countdown. When the countdown gets to 0 the next move or a "congratulations" page should appear.
Stop button should stop the timer and return to the workouts list.
Pause button should pause the timer and indicate that it is paused, after another click the timer should resume.
Next button should similate the countdown going to 0 and go to the next move.
If the current move is paused the next one should not be.
Rep Moves:
Starting a rep move should show the move, along with the number of reps left. The only decrements (by 1) when the next button is clicked.
Actionbar should only show stop and next nuttons.
When reps left reach 0, the workout should advance to the next move.
Stop button should stop the timer and return to the workouts list.
Long pressing next should skip the move all together
Wakeup Tests:
Going back from a running timer should keep the timer running and go to the main Pebble Menu.
If you come back to the app, the updated time should be displayed along with the current move.
Everything should work according to the Basic Timer tests, even if the commands are entered right after the app is opened.
If a move's countdown reaches 0 on the background (with the app closed). The app should open and load the next move.
If the move was paused, the current state should be preserved when reopening the app.
Window Stack:
Going back from a timer should always go back to the main Pebble Menu.
Should never see the list of workouts while another timer is running.
After a workout is completed (from the "congrats" page), a back press should go to the workouts list.
Preloading tests:
When a move is in progress, the next move may be preloaded (if a timeley response from the phone is received) and shown on the screen.
In this case, loading the next screen should be instantaneous.
WebView Phone Tests:
Add a workout page:
Should not be allowed to add move if either of these are true: (with proper error messages)
No move name
No move time (time = 0)
Move name has commas
After adding a move, it should be displayed under the title (if any (yet)) with correct formatting for time
The Total Time should be updated accordingly.
Should not be allowed to save workout if either of these are true: (with a proper error message)
No moves are added
No title entered
Title has a comma.
After saving a workout, main page (with workout list) should appear.
Main Page:
Each workout should have a correct total time to the right.
Clicking on a workout name should expand the workout and show all of the moves
Each move should have its individual time, or reps (if necessary)
Each move should have an "Edit Move" button on the right
Clicking button should open a modal with options to change the move
Deleting the move should remove it from the list
Any other updates should be reflected accordingly.
Add Move button should open a modal with options to add move.
Same move restriction names (from above) appy.
Delete Workout button should remove the workout from the list.
Save Button on phone should return to the pebble app and update Pebble.
Save Button on computer should show a success message with further instructions.
FAQ Page:
Questions and answers should be up to date with current version.
Known issues should be up to date with current version.