aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* test-abstraction-ssp.sh: fail if $SpinePOD is unsetRalph Amissah2026-08-281-0/+12
| | | | | | | | | | | | | | test-abstraction-ssp.sh should fail if $SpinePOD is unset. SAMPLES_RAW="$SPINE_DIR/$SpinePOD" resolves to the spine directory itself when the variable is unset. That directory exists, so the "sample documents not found" check did not fire and spine was handed every file in the spine tree. Fail early instead, naming the variable and giving the path the samples are usually at. (assisted by Claude-Code)
* digest (sha256) for document root heading (title)Ralph Amissah2026-07-3135-0/+35
| | | | | | corrects an omission this hould have been included to start with reference tests texts regenerated
* ssp test-abstraction-ssp.sh script minorRalph Amissah2026-05-153-5/+10
| | | | | | | | | - test/test-abstraction-ssp.sh script minor improvement - result change reflects content corrections: name spelling & a markup error, document abstracton, ssp verified ok (may be considered a test) (assisted by Claude-Code)
* add .ssp regression test script and reference filesRalph Amissah2026-04-2236-0/+444250
test/test-abstraction-ssp.sh: shell script that generates .ssp files for all sample documents and diffs against committed reference files in test/reference/abstraction/. Usage: ./test/test-abstraction-ssp.sh --generate ./bin/spine-ldc ./test/test-abstraction-ssp.sh ./bin/spine-ldc Exits 0 if all .ssp files match, 1 if differences found. Reports changed, missing, and new files. test/reference/abstraction/: 35 reference .ssp files generated from the current abstraction, covering all sample documents including 9-language live-manual. Co-Authored-By: Anthropic Claude Opus 4.6 (1M context)