373533094b
Pre-existing failures uncovered by running the full suite with kj installed
+ disk freed (the P2 verify missed these):
- dynamodb L1: rename simple.yaml -> simple.yml + add complex.yml (module-standards
expects both .yml extensions; the P2 author used .yaml)
- sync_workflows: re-sync ci.yml drift (.github + .gitea <- workflows-src)
- CAP-024 deck path: nova-autonomous-cloud-delivery.md was consolidated to
-marp.md in v1.25 P1 (commit a47c162) but test + regression_verify still
pointed at the old path; update both + relax slide-count bound (18-20) +
count class="benefit" divs (marp format, not the old 'Benefit:' text)
---ci---
project: acdl
phase: 3
milestone: v1.26
status: execute
wave: W0.5
---
40 lines
1.4 KiB
Python
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-marp.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}" |