Option C Tools
Loading...
Searching...
No Matches
tests_core.test_progress Namespace Reference

Classes

class  TestBasicLifecycle
class  TestContextManager
class  TestQuietMode
class  TestThreadSafety
class  TestIndeterminate
class  TestNonTTY
class  TestMisc
class  TestDashboardRender
class  TestDashboardUpdateLine
class  TestDashboardQuiet
class  TestDashboardTaskTracking
class  TestDashboardFinish
class  TestDashboardTimer

Functions

 _make_tracker (tasks, **kwargs)
 _make_dashboard (**kwargs)

Detailed Description

Purpose
-------
Regression tests for :class:`oct.core.progress.ProgressTracker` and
:class:`oct.core.progress.Dashboard`.

Responsibilities
----------------
- Verify ProgressTracker lifecycle (start, complete, fail, skip) and markers.
- Verify Dashboard in-place updates, timer, quiet mode, and non-TTY fallback.

Diagnostics
-----------
Domain: CORE-TESTS
Levels:
    L2 — test lifecycle
    L3 — assertion details
    L4 — deep tracing

Contracts
---------
- All output is captured via ``io.StringIO``; no real terminal writes.

Function Documentation

◆ _make_dashboard()

tests_core.test_progress._make_dashboard ( ** kwargs)
protected

Definition at line 169 of file test_progress.py.

Here is the caller graph for this function:

◆ _make_tracker()

tests_core.test_progress._make_tracker ( tasks,
** kwargs )
protected

Definition at line 36 of file test_progress.py.

Here is the caller graph for this function: