commerce: end-to-end composition integration suite (19 tests) — hardening
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 36s

tests/integration.sx — one narrative across every module: catalog -> stock
check -> quote (promo+stack+tax) -> attribution -> order flow -> payment
envelope -> settle -> recon -> refund flow -> ledger mismatch, asserting the
seams tie together with consistent numbers. Proves the three-substrate
composition (minikanren pricing + flow lifecycle + persist ledger) end to end.
Total 297/297 across 18 suites.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-07 13:40:02 +00:00
parent e66fbfc540
commit 744bbb445c
5 changed files with 119 additions and 6 deletions

View File

@@ -21,4 +21,5 @@ _Generated by `lib/commerce/conformance.sh`_
| nettax | 11 | 0 | 11 |
| stock | 19 | 0 | 19 |
| refund | 20 | 0 | 20 |
| **Total** | **278** | **0** | **278** |
| integration | 19 | 0 | 19 |
| **Total** | **297** | **0** | **297** |