Files
marqdo-ext-ai/tests/cases/credential_missing.json
cflmy d83622e45d test: add independent acceptance runner, fixtures and cases
- throwaway consumer project with real marqdo lock of the pinned dependency
- deterministic loopback HTTP fixture recording requests with redacted credentials
- 39 candidate cases: protocol positives, negatives, security, budgets, examples
- assertions on Observation values, request counts and request bodies
2026-11-29 23:45:26 +08:00

29 lines
523 B
JSON

{
"schema": "marqdo.ai-test-case",
"schema_version": 1,
"name": "credential_missing",
"kind": "fixture",
"scenario": "valid_classify",
"entry": "tests/integration/credential_missing.mq.md",
"function": "主流程",
"args": [
"端点=\"127.0.0.1:${PORT}\""
],
"grants": [
"127.0.0.1"
],
"allow_env": [
"MARQDO_AI_ABSENT_TOKEN"
],
"env": {},
"expected": {
"value": {
"ok": false,
"code": "ai.model_unconfigured"
}
},
"request_asserts": {
"count": 0
}
}