Personal Training OS — Test Cases
|
Type
|
Level
|
UID
|
PREFIX
|
REFS
|
Title
|
Statement
|
METHOD
|
AUTOMATED
|
|---|---|---|---|---|---|---|---|---|
|
SECTION
|
1 |
|
|
|
|
|||
|
TEST
|
1.1 |
|
|
A hockey session with Attendance = Did Not Attend has Counts Toward Training (auto) = false. |
|
|
||
|
TEST
|
1.2 |
|
Parents:
|
|
A hockey session with Attendance = Attended has Counts Toward Training (auto) = true. |
|
|
|
|
TEST
|
1.3 |
|
Parents:
|
|
A non-hockey session with Status = Completed has Counts Toward Training (auto) = true. |
|
|
|
|
TEST
|
1.4 |
|
Parents:
|
|
A non-hockey session with Status = Planned has Counts = false; setting Status = Completed flips it to true. |
|
|
|
|
TEST
|
1.5 |
|
Parents:
|
|
an example running shoe Total Miles = 16 (sum of Distance from the two linked runs, 11 + 5). |
|
|
|
|
TEST
|
1.6 |
|
Parents:
|
|
Linking a new run to the shoe increases Total Miles; unlinking returns it to the prior value. |
|
|
|
|
TEST
|
1.7 |
|
|
Secondary User exists in People and is selectable as Person on sessions/goals/metrics. |
|
|
||
|
TEST
|
1.8 |
|
|
Filtering by Person = Primary User vs Secondary User returns only that person's rows. |
|
|
||
|
TEST
|
1.9 |
|
Parents:
|
|
A hand-created session has Source = Manual. |
|
|
|
|
TEST
|
1.10 |
|
|
Kettlebells, Net, Barbell, Medicine ball = Not available; Stickhandling ball = Pending; the rest Available. |
|
|
||
|
TEST
|
1.11 |
|
|
The seeded Workout Templates reference only Available equipment. |
|
|
||
|
TEST
|
1.12 |
|
|
Example Half Marathon = Half Marathon / Goal 2:00:00; Example 5K = 5K. |
|
|
||
|
TEST
|
1.13 |
|
|
11-mile long run = 11 mi / Long; 5-mile hill repeats = 5 mi / Hills. |
|
|
||
|
TEST
|
1.14 |
|
|
The 11-mile run relates to Person, Running Shoe, Running Route, and Training Block. |
|
|
||
|
TEST
|
1.15 |
|
Parents:
|
|
The Sub-2:00 goal has a Race relation to the Example Half Marathon. |
|
|
|
|
TEST
|
1.16 |
|
|
A hockey session can relate to a Team A/Team B game without altering the source game DB. |
|
|
||
|
TEST
|
1.17 |
|
|
The Personal Training OS page is a child of Personal Dashboard, linked below Inbox. |
|
|
||
|
TEST
|
1.18 |
|
|
A session/check-in can be logged with low effort in the Notion mobile app. |
|
|
||
|
TEST
|
1.19 |
|
Parents:
|
|
The OS data can be exported from Notion and is restorable. |
|
|
|
|
TEST
|
1.20 |
|
|
At least one running, one strength, and one hockey Workout Template exist, plus Hockey Drills. |
|
|