Commit Graph

8 Commits

Author SHA1 Message Date
Axel Meyer
44314774ee test: cover new Badges/Topology MUST-Sections (S2 iter)
User-feedback iteration on S2 PoC template:
- Update validate_readme_structure test-data ('complete' + 'missing_api')
  to use new bold-list Badges + ## Topology H2 heading.
- Add 'missing_topology' case: README without ## Topology heading must
  report Topology as missing MUST-Section.
- Add 'missing_badges' case: README without **Lib-ID:** bold-line must
  report Badges as missing MUST-Section.

Assertion-count: 32 -> 35 (+3 new). README Coverage-Statement updated.
2026-05-16 15:26:36 +02:00
Axel Meyer
897468132e test: assertions for validate_readme_structure (S2 Phase 1)
5 assertions: complete-README clean, missing-API detected, missing-list
contains 'API', community-tier skips enforcement.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 13:37:39 +02:00
Axel Meyer
d4af05b879 test: assertions for generate_topology_block (S2 Phase 1)
6 assertions: standard lib (self + dep + engine nodes), asset-lib
(self only, no engine).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 13:33:37 +02:00
Axel Meyer
539d96d098 test: assertions for grep_engine_calls (S2 Phase 1)
5 assertions: 3 unique calls detected, count matches, no-engine-calls
edge returns empty.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 13:27:59 +02:00
Axel Meyer
734271c95f test: assertions for diff_surface (S2 Phase 1)
5 assertions: equal-set (no diff), surface-superset (missing), doc-
superset (stale). Sort-stable order verified.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 13:23:01 +02:00
Axel Meyer
e69bcc4344 test: assertions for parse_readme_api (S2 Phase 1)
4 assertions: standard H3-pattern + no-API-section edge.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 13:18:23 +02:00
Axel Meyer
162d99deeb test: assertions for parse_lua_surface (S2 Phase 1)
7 assertions: standard-pattern (2 public + 1 private) + empty-source
edge-case. Mutation-resistant: name + count both verified.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 12:55:29 +02:00
Axel Meyer
ba22f77e5d init: lib-core.api-discovery-test v0.1.0 skeleton
Empty run_tests body. Assertions added incrementally via TDD in
subsequent S2-plan tasks.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 12:41:59 +02:00