Files
acdl/tests/test_regression_cap023_024.py
T
Jon Chery 301aa2c8d8
Nova Slides Render / render (push) Failing after 58s
docs(P3): marp deck + talking points + README + theme CSS + tests (REQ-245,251,252)
Marp deck (nova-autonomous-cloud-delivery-marp.md): synthesize from updated
source-of-truth; 18 main + 1 appendix slides; frontmatter — title 'Nova —
The Autonomous Cloud Delivery Platform', footer without version + without
'Act %{page}/5', title-slide subtitle 'Product Development & Citizen
Developer Overview'; no badges; embedded PNGs.

Talking points (nova-autonomous-cloud-delivery-talking-points.md):
re-distilled to 18-slide + A1 structure.

README.md: update deck title, audience, slide count (18 main + 1 appendix),
directory layout, remove badge docs, update deck table + render commands +
filenames. Document the v1.21 rename + restructure.

Theme CSS (nova-sp-theme.css): fix Appendix A1 table readability — tables
now have explicit white body + black text on any slide background
(including dark/title slides). Item 32.

Tests (test_slides_pipeline.py): add v1.21 assertions — no badges; no
version in footer/title slide; 18 main + 1 appendix slides; no D-###/REQ-
###/.py paths in audience-facing Marp deck or source slide body; old deck
files removed; render script default renamed; README references new deck
name. Update deck path in test_regression_cap023_024.py +
core/regression_verify.py CAP-024 (filename + 18-19 slide range, drop 'Arc
Preview' check per item 3).

attach_release_asset.py: usage example filename updated.

---ci---
project: acdl
phase: 3
milestone: v1.21
status: execute
phase_role: execution
---/ci---
2026-08-11 14:03:06 +00:00

40 lines
1.4 KiB
Python

"""Tests for CAP-023 (metrics collector) + CAP-024 (deck structure) (P6, REQ-198)."""
import os
import sys
from pathlib import Path
import pytest
ROOT = Path(__file__).resolve().parent.parent
sys.path.insert(0, str(ROOT))
def test_cap_023_metrics_collector():
"""CAP-023: metrics collector runs and emits the expected schema."""
from core.regression_verify import _check_cap_023_metrics_collector
status, detail = _check_cap_023_metrics_collector()
assert status in ("Verified", "Skipped"), f"CAP-023 {status}: {detail}"
def test_cap_024_deck_structure():
"""CAP-024: unified deck has correct structure (slide count, x3, benefits)."""
from core.regression_verify import _check_cap_024_deck_structure
status, detail = _check_cap_024_deck_structure()
assert status in ("Verified", "Skipped"), f"CAP-024 {status}: {detail}"
def test_cap_024_deck_exists():
"""The unified deck source of truth exists."""
deck_path = ROOT / "docs" / "presentations" / "nova-autonomous-cloud-delivery.md"
assert deck_path.exists(), "unified deck not found"
def test_cap_024_old_decks_retired():
"""The old decks are retired (D-130)."""
old_decks = [
ROOT / "docs" / "presentations" / "how-the-platform-works.md",
ROOT / "docs" / "presentations" / "the-developer-experience.md",
]
for deck in old_decks:
assert not deck.exists(), f"old deck not retired: {deck}"