|
Option C Tools
|
Classes | |
| class | TestExtractSkeleton |
| class | TestStripDocstringSection |
| class | TestNonPythonSkeleton |
| class | TestSkeletonIntegration |
Variables | |
| SIMPLE_MODULE = textwrap.dedent() | |
| CLASS_MODULE = textwrap.dedent() | |
| ASYNC_MODULE = textwrap.dedent() | |
| DECORATOR_MODULE = textwrap.dedent() | |
Purpose
-------
Tests for the skeleton exporter: core extraction, docstring stripping,
non-Python placeholders, and integration.
Responsibilities
----------------
- Verify extract_skeleton produces correct output for various Python patterns.
- Verify _strip_docstring_section removes targeted sections.
- Verify non-Python files produce one-line placeholders.
- Verify write_skeleton_file_for_dir and clean_skeleton_dirs work end-to-end.
Diagnostics
-----------
Domain: OCT-TEST
Levels:
L2 — lifecycle
L3 — semantic details
L4 — deep tracing
Contracts
---------
- All tests are self-contained with no external dependencies beyond pytest.
| tests_tools.test_skeleton_exporter.ASYNC_MODULE = textwrap.dedent() |
Definition at line 135 of file test_skeleton_exporter.py.
| tests_tools.test_skeleton_exporter.CLASS_MODULE = textwrap.dedent() |
Definition at line 90 of file test_skeleton_exporter.py.
| tests_tools.test_skeleton_exporter.DECORATOR_MODULE = textwrap.dedent() |
Definition at line 146 of file test_skeleton_exporter.py.
| tests_tools.test_skeleton_exporter.SIMPLE_MODULE = textwrap.dedent() |
Definition at line 49 of file test_skeleton_exporter.py.