Migrate tests to Parachute with asdf:test-system #2

Merged
dxtr merged 1 commit from parachute-tests into main 2026-06-06 17:59:18 +02:00
Owner

Replace the hand-rolled check/*fail* + sbcl --script test files with a
Parachute suite wired into ASDF.

  • Add a lispsearch/test system (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.
  • Split into two suites: offline (network-free, deterministic — the default
    run) and network (live catalog/registry, opt-in via
    (parachute:test 'lispsearch/test:network)).
  • Convert the per-milestone files: m1->db, m2->catalog, m3->enrich, m5->stretch,
    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).
  • Keep test/m4-cli.sh as the compiled-binary end-to-end test; point to the
    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

Replace the hand-rolled `check`/`*fail*` + `sbcl --script` test files with a Parachute suite wired into ASDF. - Add a `lispsearch/test` system (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. - Split into two suites: `offline` (network-free, deterministic — the default run) and `network` (live catalog/registry, opt-in via `(parachute:test 'lispsearch/test:network)`). - Convert the per-milestone files: m1->db, m2->catalog, m3->enrich, m5->stretch, 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). - Keep test/m4-cli.sh as the compiled-binary end-to-end test; point to the 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>
Replace the hand-rolled `check`/`*fail*` + `sbcl --script` test files with a
Parachute suite wired into ASDF.

- Add a `lispsearch/test` system (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.
- Split into two suites: `offline` (network-free, deterministic — the default
  run) and `network` (live catalog/registry, opt-in via
  `(parachute:test 'lispsearch/test:network)`).
- Convert the per-milestone files: m1->db, m2->catalog, m3->enrich, m5->stretch,
  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).
- Keep test/m4-cli.sh as the compiled-binary end-to-end test; point to the
  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>
dxtr merged commit b8530a1fd9 into main 2026-06-06 17:59:18 +02:00
dxtr deleted branch parachute-tests 2026-06-06 17:59:18 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dxtr/ocicl-search!2
No description provided.