← 返回卡片

原书出处

Automating API Delivery APIOps with OpenAPI

07 用模式测试检查 API 遵约 7.2 Code-based schema tests

核验版本的摘录快照 · 导入于 2026-11-24T09:39:53.481Z

You can vary the scope of the provider API—the subject under test. It can be a fully deployed API, including the API gateway, so the schema test runs as an end-to-end test that exercises the entire stack. Or the scope of the schema test can be at a controller level, which exercises just the API service with dependent systems mocked out. Figure 7.2 shows a conceptual representation of this.

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-7.xhtml#p23

EPUB SHA-256:73b94e6cdce95a5b45154bc48c68151659ddf69ec246d4fad79dc89db000857e