Migrate tests to Parachute with asdf:test-system #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "parachute-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replace the hand-rolled
check/*fail*+sbcl --scripttest files with aParachute suite wired into ASDF.
lispsearch/testsystem (depends-on parachute) and:in-order-to ((test-op (test-op "lispsearch/test")))on the main system, so(asdf:test-system "lispsearch")runs the suite and errors (non-zero CI exit)on failure.
offline(network-free, deterministic — the defaultrun) and
network(live catalog/registry, opt-in via(parachute:test 'lispsearch/test:network)).using is/isnt/true/false/finish. Shared in-memory-DB and sample-data helpers
live in suites.lisp. The parallel-enrich test stubs fetch-enrichment behind an
unwind-protect so the global is restored (safe in a persistent test image).
Parachute entry points in its header.
Verified: offline 47 checks pass via asdf:test-system; network 27 pass.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com