- 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
29 lines
523 B
JSON
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
|
|
}
|
|
}
|