Orchestrata Ultimate › Tests › Reference › session › test_carryover_coverage
Tests reference — tests/session/test_carryover_coverage.py
Module of tests/session, split out because the directory page would be too large.
Prose pending.
tests/session/test_carryover_coverage.py
source · 34 tests · 360 lines
Coverage tests for session.carryover — WorkCarryoverManager.
Covers: session.carryover, session.context, session.models
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestAddAndList |
55 | Test adding and listing work items. |
| method | TestAddAndList.test_add_item |
58 | Test adding a basic work item. |
| method | TestAddAndList.test_add_item_with_priority |
64 | Test adding item with priority. |
| method | TestAddAndList.test_add_item_with_notes |
69 | Test adding item with notes. |
| method | TestAddAndList.test_all_items |
74 | Test listing all items. |
| class | TestPendingItems |
86 | Test pending items filtering. |
| method | TestPendingItems.test_pending_excludes_done |
89 | Test pending items exclude done items. |
| method | TestPendingItems.test_pending_all_done |
98 | Test pending returns empty when all done. |
| class | TestPriorityFiltering |
108 | Test priority-based filtering. |
| method | TestPriorityFiltering.test_items_by_priority |
111 | Test filtering by specific priority. |
| method | TestPriorityFiltering.test_high_priority_items |
119 | Test high priority includes P0 and P1. |
| method | TestPriorityFiltering.test_high_priority_empty |
127 | Test high priority returns empty when none exist. |
| class | TestCompletion |
136 | Test item completion. |
| method | TestCompletion.test_complete_item_by_text |
139 | Test completing item by text match. |
| method | TestCompletion.test_complete_item_not_found |
146 | Test completing non-existent item returns False. |
| method | TestCompletion.test_complete_by_index |
150 | Test completing item by index. |
| method | TestCompletion.test_complete_by_negative_index |
158 | Test negative index returns False. |
| method | TestCompletion.test_complete_by_out_of_range_index |
162 | Test out-of-range index returns False. |
| class | TestUpdatePriority |
171 | Test priority updates. |
| method | TestUpdatePriority.test_update_priority |
174 | Test updating item priority. |
| method | TestUpdatePriority.test_update_priority_not_found |
181 | Test updating non-existent item returns False. |
| class | TestAddNotes |
189 | Test adding notes to items. |
| method | TestAddNotes.test_add_notes_to_item |
192 | Test adding notes to item without existing notes. |
| method | TestAddNotes.test_add_notes_appends |
199 | Test adding notes appends to existing notes. |
| method | TestAddNotes.test_add_notes_not_found |
207 | Test adding notes to non-existent item returns False. |
| class | TestRemoveItem |
215 | Test item removal. |
| method | TestRemoveItem.test_remove_item |
218 | Test removing an item. |
| method | TestRemoveItem.test_remove_item_not_found |
227 | Test removing non-existent item returns False. |
| class | TestClearDone |
235 | Test clearing done items. |
| method | TestClearDone.test_clear_done |
238 | Test clearing removes done items only. |
| method | TestClearDone.test_clear_done_none |
249 | Test clearing when no done items returns 0. |
| method | TestClearDone.test_clear_done_empty |
254 | Test clearing empty list returns 0. |
| class | TestSummary |
262 | Test work item summary. |
| method | TestSummary.test_summary_empty |
265 | Test summary with no items. |
| method | TestSummary.test_summary_with_items |
271 | Test summary counts items correctly. |
| class | TestFormatList |
287 | Test markdown formatting. |
| method | TestFormatList.test_format_empty |
290 | Test formatting with no items. |
| method | TestFormatList.test_format_with_items |
295 | Test formatting with items. |
| method | TestFormatList.test_format_excludes_done |
305 | Test formatting excludes done items by default. |
| method | TestFormatList.test_format_includes_done |
314 | Test formatting includes done items when requested. |
| class | TestImportFromSession |
325 | Test importing upcoming items from session. |
| method | TestImportFromSession.test_import_from_session |
328 | Test importing upcoming items creates work items. |
| method | TestImportFromSession.test_import_nonexistent_session |
340 | Test importing from non-existent session returns 0. |
| method | TestImportFromSession.test_import_no_duplicates |
344 | Test importing skips already-existing items. |
| method | TestImportFromSession.test_import_session_no_upcoming |
353 | Test importing from session with no upcoming returns 0. |