























QA 多是做接口和后端 web 层的测试。web 层的后端测试方法上面给出的 ppt 中有说明,Mock HttpRequest、直接调用 Controller,取得页面渲染前的内容并校验。
发写的测试更多时候是在测试程序的正确情况,对于出错情况的验证十分缺乏,QA 需要补充这些测试或者在其他的分层中做这些测试。
单元测试应该是每一次代码改动提交的时候自动测试
QA 多是做接口和后端 web 层的测试。web 层的后端测试方法上面给出的 ppt 中有说明,Mock HttpRequest、直接调用 Controller,取得页面渲染前的内容并校验。
发写的测试更多时候是在测试程序的正确情况,对于出错情况的验证十分缺乏,QA 需要补充这些测试或者在其他的分层中做这些测试。
单元测试应该是每一次代码改动提交的时候自动测试
本文标题:分层测试?
本文链接:https://www.haomeiwen.com/subject/mkggmqtx.html
网友评论