知识卡片
接口测试保护下游协议
请求响应schema、状态及错误行为构成下游依赖的契约。应覆盖有效、缺字段、错类型等情境,并区分协议变化与模型质量变化;本地发现破坏性变更后再决定兼容和版本策略。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 软件自动化测试
原书出处 · 1 处
- · 查看原书依据
API Tests If you are encapsulating and deploying the trained model as a web API, you can test and start the API as we would any other web API. The subject under test is a web API application. As a producer of an ML model, you are likely going to have downstream components that depend on you, such as a frontend application or other APIs.
参考来源
- 位置:《Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)》第05章《软件自动化测试》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch05.html)
- 结论依据:摘录中关于接口测试保护下游协议的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:API Tests If you are encapsulating and deploying the trained model as a web API, you can test and start the API as we would any other web API. The subject under test is a web API application. As a producer of an ML model, you are likely going to have downstream components that depend on you, such as a frontend application or other APIs.