shard-wiki/tests
tegwick 9b7f86ba69 test: harden suite with error-path contracts + coverage floor (98%)
Adds tests/test_error_paths.py covering real failure contracts (red-link
single() KeyError, unknown/unattached-shard apply_overlay, kernel.delete
missing, conformance survives a broken profile, Placement str). Adds a
[tool.coverage.report] fail_under=90 floor (engages on pytest --cov, not bare
pytest). 76 tests, 98% coverage, pyflakes clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 00:05:16 +02:00
..
__init__.py Scaffold Python project with pyproject.toml and pytest 2026-06-08 01:05:40 +02:00
test_apply.py feat(coordination): apply-under-drift (WP-0008 T4) 2026-06-15 13:25:10 +02:00
test_conformance.py feat(adapters): conformance suite — profiles verified not asserted (WP-0007 T4) 2026-06-15 09:42:59 +02:00
test_decision_log.py feat(coordination): event-sourced DecisionLog keystone (WP-0007 T5) 2026-06-15 09:45:11 +02:00
test_engine_kernel.py feat(engine): page-store kernel skeleton (WP-0014 T1) 2026-06-15 23:57:31 +02:00
test_error_paths.py test: harden suite with error-path contracts + coverage floor (98%) 2026-06-16 00:05:16 +02:00
test_folder_adapter.py feat(adapters): ShardAdapter contract + read-only FolderAdapter (WP-0007 T3) 2026-06-15 09:37:02 +02:00
test_integration.py feat(space): InformationSpace orchestrator + integration; foundation slice complete (WP-0007 T7) 2026-06-15 10:12:38 +02:00
test_model.py feat(model): Identity/Placement/Span, Page, CapabilityProfile (WP-0007 T2) 2026-06-15 09:00:49 +02:00
test_overlay.py feat(coordination): Overlay model + OverlayEngine.draft (WP-0008 T2) 2026-06-15 11:56:53 +02:00
test_overlay_aware_read.py feat(union): overlay-aware resolution (WP-0008 T5) 2026-06-15 13:29:06 +02:00
test_package.py Scaffold Python project with pyproject.toml and pytest 2026-06-08 01:05:40 +02:00
test_patch.py feat(coordination): patch rendering (unified diff) (WP-0008 T3) 2026-06-15 12:32:47 +02:00
test_provenance.py feat(provenance): layered ProvenanceEnvelope + effective() leaf (WP-0007 T1) 2026-06-15 08:55:35 +02:00
test_union.py feat(policy,union): policy leaf + UnionGraph resolution with chorus (WP-0007 T6) 2026-06-15 10:02:09 +02:00
test_writable_adapter.py feat(adapters): writable FolderAdapter + positive write conformance (WP-0008 T1) 2026-06-15 11:09:43 +02:00
test_write_path_integration.py feat(space): wire write path into InformationSpace; integration (WP-0008 T6) 2026-06-15 13:46:32 +02:00