gsxdsm
13f7266b67
FN-8670: reuse model runtime fixtures in engine tests
Share a warmed Pi model runtime across engine catalog tests.
- Add an isolated in-memory model registry fixture backed by a per-file shared runtime.
- Warm the runtime before catalog tests and verify custom-provider registry isolation.
- Document the required fixture pattern for real Pi SDK catalog tests.
Files changed:
docs/testing.md | 1 +
.../engine/src/__tests__/_model-runtime-fixture.ts | 40 ++++++++++++++++++++++
.../custom-providers-openai-completions.test.ts | 15 +++-----
.../custom-providers-openai-responses.test.ts | 15 +++-----
.../src/__tests__/provider-registration.test.ts | 33 ++++++++++++------
5 files changed, 73 insertions(+), 31 deletions(-)
Fusion-Task-Id: FN-8670
Fusion-Task-Lineage: 7410d114-1853-44cc-a09b-a997fbc7f119
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-01 01:34:43 -07:00
..
2026-08-01 00:55:04 -07:00
2026-08-01 00:55:04 -07:00
2026-08-01 01:15:10 -07:00
2026-08-01 01:28:38 -07:00
2026-08-01 00:55:04 -07:00
2026-08-01 00:55:04 -07:00
2026-08-01 01:34:43 -07:00
2026-08-01 00:55:04 -07:00
2026-08-01 00:55:04 -07:00
2026-08-01 00:55:04 -07:00
2026-07-27 19:40:08 -07:00
2026-08-01 00:55:04 -07:00