断言共2篇

Postman的基础使用(发送请求、断言、环境变量、参数化、测试报告生成) - 正则时光

Postman的基础使用(发送请求、断言、环境变量、参数化、测试报告生成)

一、发送请求 步骤: 选择 请求方法 填写 URL 填写请求头 填写请求体 发送请求 Postman发送GET请求 使用postman发送get请求 Postman发送POST请求 使用postman发送post请求 put和delete请求,只...
11月11日
4112
2.unitest 断言 - 正则时光

2.unitest 断言

断言:让程序代替人为判断测试程序执行结果是否符合预期结果的过程 常用的UnitTest断言方法 断言方法断言描述assertTrue(expr, msg=None)验证expr是true,如果为false,则failassertFalse(expr,...
11月8日
8313