Commit Graph

7 Commits

Author SHA1 Message Date
Calic
f1d0aec9a5 feat(launcher-test): cover frontmatter + markdown parsers
Extends run_tests from 12 -> ~46 asserts: 10 frontmatter cases (simple
field, no-frontmatter passthrough, numeric field, multi-line body,
non-string input, empty meta) and ~25 markdown cases (headers,
bullets, ordered, images, bold/italic/code spans, paragraph joining,
mixed mid-block). frontmatter.lua and markdown.lua are byte-identical
copies of the launcher's helpers; smoke.sh enforces no drift via
git hash-object.
2026-06-11 01:30:43 +02:00
Calic
019b18d621 rename to lib-management.launcher-test (was lib-sporel.launcher-test)
Per ADR-0045 (three-tier library naming) the launcher-test migrates
from the retired lib-sporel.* prefix to the new lib-management.* tier.

- manifest.lib id: lib-sporel.launcher-test -> lib-management.launcher-test
- manifest.core id: lib-sporel.launcher-test.core -> lib-management.launcher-test.core
- init.lua engine.module.dir_of("lib-management.launcher-test")
- README + fsm.lua + init.lua comments updated

Gitea repo renamed in lockstep:
sporel/sporel-lib-sporel.launcher-test ->
sporel/sporel-lib-management.launcher-test
2026-05-31 00:21:57 +02:00
Calic
d27f8bdc1a chore: add Tier-1 LICENSE file
Adds the proprietary all-rights-reserved license that applies to this
library. The text is identical to the engine LICENSE — this lib is
Tier-1 official platform content, distributed under the same terms.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 18:04:46 +02:00
Calic
66ecd0cda8 test(launcher-test): cheap-fill M3 gap + Coverage Statements (Test-Cov Phase 2.7)
3 mutations tested. 2 caught, 1 uncaught (M3: unknown-state fallback returns nil).
Cheap-fill: added fsm.next("garbage_state", "esc") == "garbage_state" assertion.
2026-05-16 02:38:30 +02:00
Calic
ef3fba5db1 feat(launcher-test): migrate to test-lib (Test-Opt Phase 3.6)
Per ADR-0037 Tests-as-Libs Convention. Renamed on Gitea +
moved locally to lib-sporel/launcher-test. fsm.lua and dofile
pattern preserved; Pre-S15 drift-check still applies.
2026-05-16 01:26:30 +02:00
Calic
1aa2eb6a6a fix(P.3.4): self-contained fsm.lua, drop module-dep (resolver only handles libs)
Sporel resolver does NOT resolve module-as-dep (only lib-deps). Test-module
ships its own byte-identical copy of fsm.lua and loads it via dir_of(self).
Drift prevention deferred to Smoke diff-check (next slice).

Also dropped runtime-behavior measure_text assertion (needs Raylib font, not
loaded in headless test-mode). Existence-check (assertion 10) is sufficient.

11 assertions: 5 FSM transitions + 1 FSM stability + 5 Engine-Surface existence.
2026-05-12 23:25:16 +02:00
Calic
b27911484e test(P.3.4): initial — lib-sporel.launcher-test v0.1.0 (12 assertions, P.3.1 pattern) 2026-05-12 23:15:50 +02:00