lsekfe 发表于 2023-4-25 13:11:02

分享常用八大测试用例设计方法建议收藏

测试用例格式包括十大特点
  1)用例编号
  2)测试项
  3)测试标题
  4)用例属性
  5)重要级别:高中低
  6)预置条件
  7)测试输入
  8)操作步骤
  9)预期结果
  10)实际结果
  等价类
  1,等价类定义
http://www.51testing.com/attachments/2023/04/15326880_2023041917173717OAc.jpg
  2,等价类划分
http://www.51testing.com/attachments/2023/04/15326880_202304191717401GDUA.jpg
  3,等价类划分规则
http://www.51testing.com/attachments/2023/04/15326880_202304191717431h5fk.jpg
  4,进行等价类用例设计
http://www.51testing.com/attachments/2023/04/15326880_202304191717451Q2ir.jpg
  5,案例
http://www.51testing.com/attachments/2023/04/15326880_202304191717491kWvo.jpghttp://www.51testing.com/attachments/2023/04/15326880_202304191717581UhV4.jpg
  边界值
  1,边界值的三点
http://www.51testing.com/attachments/2023/04/15326880_202304191718011ikfw.jpg
  2,边界值应用场景
http://www.51testing.com/attachments/2023/04/15326880_202304191718041Gj8t.jpg
  3,边界值方法应用步骤
http://www.51testing.com/attachments/2023/04/15326880_202304191718071Ctx5.jpg
  判定表
  1,定义
http://www.51testing.com/attachments/2023/04/15326880_2023041917181017jGT.jpg
  2,重要概念
http://www.51testing.com/attachments/2023/04/15326880_202304191718131XPzQ.jpg
  3,判定表应用步骤
http://www.51testing.com/attachments/2023/04/15326880_202304191718161ucz6.jpg
  4,案例
http://www.51testing.com/attachments/2023/04/15326880_202304191718191CXRO.jpghttp://www.51testing.com/attachments/2023/04/15326880_2023041917182115XSa.jpg
  因果图
  1,输入与输入的关系
http://www.51testing.com/attachments/2023/04/15326880_202304191718241sr4l.jpg
  2,输入与输出的关系
http://www.51testing.com/attachments/2023/04/15326880_202304191721581ek7H.jpg
  3,案例
http://www.51testing.com/attachments/2023/04/15326880_2023041917220219uMX.jpg
  正交试验
  1,因子和水平的定义
http://www.51testing.com/attachments/2023/04/15326880_202304191722051OlQQ.jpg
  2,特点
http://www.51testing.com/attachments/2023/04/15326880_202304191722081coOj.jpg
  3,设计流程
http://www.51testing.com/attachments/2023/04/15326880_202304191722111dxaP.jpg
  4,注意点
http://www.51testing.com/attachments/2023/04/15326880_202304191722151L2nw.jpg
  5,案例
http://www.51testing.com/attachments/2023/04/15326880_202304191722181KuGC.jpghttp://www.51testing.com/attachments/2023/04/15326880_202304191723141mrqM.jpg
  状态迁移
  1,定义
http://www.51testing.com/attachments/2023/04/15326880_202304191723411xXBo.jpg
  2,状态
http://www.51testing.com/attachments/2023/04/15326880_202304191723441qaS5.jpg
  3,方法流程
http://www.51testing.com/attachments/2023/04/15326880_2023041917234812H5b.jpg
  4,案例
http://www.51testing.com/attachments/2023/04/15326880_202304191723501j28y.jpghttp://www.51testing.com/attachments/2023/04/15326880_202304191723541nA9h.jpg
  流程分析法(场景设计法)
  1,设计三个场景
http://www.51testing.com/attachments/2023/04/15326880_202304191723571KgiE.jpg
  2,使用方法
http://www.51testing.com/attachments/2023/04/15326880_202304191724011EBeE.jpg
  3,注意点
http://www.51testing.com/attachments/2023/04/15326880_2023041917240514FXG.jpg
  4,案例
http://www.51testing.com/attachments/2023/04/15326880_202304191724101HLD8.jpg
http://www.51testing.com/attachments/2023/04/15326880_202304191725551Pqh6.jpg

页: [1]
查看完整版本: 分享常用八大测试用例设计方法建议收藏