Orchestrata Ultimate › Tests › Reference › session › test_session_goal_coverage
Tests reference — tests/session/test_session_goal_coverage.py
Module of tests/session, split out because the directory page would be too large.
Prose pending.
tests/session/test_session_goal_coverage.py
source · 25 tests · 191 lines
Coverage tests for SessionController goal methods (SPEC-023).
Covers: session.context, session.models, session.session
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestSetAndGetGoal |
27 | |
| method | TestSetAndGetGoal.test_no_goal_initially |
28 | |
| method | TestSetAndGetGoal.test_set_goal_simple |
31 | |
| method | TestSetAndGetGoal.test_set_goal_with_criteria |
36 | |
| method | TestSetAndGetGoal.test_get_goal_after_set |
44 | |
| class | TestGoalStatus |
51 | |
| method | TestGoalStatus.test_status_with_no_goal |
52 | |
| method | TestGoalStatus.test_status_with_goal_no_criteria |
56 | |
| method | TestGoalStatus.test_status_with_criteria_unchecked |
63 | |
| method | TestGoalStatus.test_status_with_criteria_met |
72 | |
| class | TestUpdateGoalStatus |
81 | |
| method | TestUpdateGoalStatus.test_update_no_goal_returns_none |
82 | |
| method | TestUpdateGoalStatus.test_update_to_achieved_sets_timestamp |
85 | |
| method | TestUpdateGoalStatus.test_update_to_abandoned |
91 | |
| method | TestUpdateGoalStatus.test_update_to_blocked |
97 | |
| class | TestLogGoalProgress |
103 | |
| method | TestLogGoalProgress.test_log_no_goal_returns_none |
104 | |
| method | TestLogGoalProgress.test_log_progress_appends_entry |
107 | |
| method | TestLogGoalProgress.test_log_progress_with_criteria_change |
114 | |
| class | TestCheckGoalBeforeStop |
134 | |
| method | TestCheckGoalBeforeStop.test_no_goal_returns_empty |
135 | |
| method | TestCheckGoalBeforeStop.test_achieved_returns_empty |
138 | |
| method | TestCheckGoalBeforeStop.test_abandoned_returns_empty |
143 | |
| method | TestCheckGoalBeforeStop.test_all_criteria_met_returns_empty |
148 | |
| method | TestCheckGoalBeforeStop.test_unmet_criteria_returns_message |
155 | |
| method | TestCheckGoalBeforeStop.test_in_progress_no_criteria_returns_message |
164 | |
| class | TestBlocker |
172 | |
| method | TestBlocker.test_add_blocker_no_goal |
173 | |
| method | TestBlocker.test_add_blocker_changes_status |
176 | |
| method | TestBlocker.test_clear_blocker_no_goal |
182 | |
| method | TestBlocker.test_clear_blocker_resets_status |
185 |