软件测试.ppt
保存
测试重点
用户,矩形模块
•测试用户,矩形,椭圆等图标的添加,删除,移 动,缩放等功能
箭头,实,虚线模块
•测试箭头,实,虚线的添加,删除,改变方向和 大小等功能
测试方法
主要采用了两种测试方法:错误推测法和功能图法
错误推测法 黑盒测试 功能图法
测试用例
➢ 针对用户,矩形,椭圆模块设计的用例 有:
添加(User_01, Rect_01,Case_01)
删除(User_02,Rect_02,Case_02)
缩放(user_03,rect_03,Case_03)
移动(User_04,Rect_04,Case_04)
Description of the contents Description of the contents
测试分析——缺陷的分布情况
➢从测试用例表中可看出缺陷的分布情况
➢缺陷主要在左,右,双箭头和实,虚线上
测试分析——总结
➢由于测试覆盖了所有功能特性,并尽可能多的找到 了缺陷,故测试工作做的很好
➢从测试通过率为55.17%可看出被测软件质量很不过关
You may not extract the image for any other use.
测试模块
用户,矩形,测试用户,矩形,椭圆等图标的 椭圆等 添加,删除,移动,缩放等功能
测试箭头,实,虚线的添加,删 箭头,实,
除,改变方向和大小等功能
虚线
文本 测试文本的添加,删除,移动等 功能
测试生成的图像能否成功保存
测试用例举例
矩形的添加
测试用例举例
椭圆的移动
测试用例举例
左箭头的删除
测试用例举例
右箭头的旋转和改变长短
测试用例举例
双箭头的添加
测试分析——测试用例的通过率
用例编号
通过与否
用例编号
通过与否
User_01
Y
User_02
Y
User_03
Y
User_04
Y
Rect_01
Y
Rect_02
Y
Rect_03
Y
Rect_04
Y
Case_01
Y
Case_02
Y
Case_03
Y
Case_04
Y
Rarrow_01
N
Rarrow_02
N
Rarrow_03
N
测试分析——测试用例的通过率
用例编号
通过与否
用例编号
通过与否
Larrow_01
N
Larrow_02
N
Larrow_03
N
Darrow_01
N
Darrow_02
Description of the contents Description of the contents
测试用例
➢ 针对文本模块设计的用例有:
添加(Text_01)
➢ 针对保存模块设计的用例有:
保存(Save_01)
Description of the contents Description of the contents
UseCase diagram绘制软件
测试方法及测试过程
小组成员
李崇阳(组长) 李雪妮 丁楠 陈卓
李音
UseCase diagram绘制软件
• 功能描述
为了方便用户画用例图,本软件提供了方便易 用的画图功能
• 帮助用户画方框,椭圆,箭头等用例图元素 • 用户可随意调整图中各元素的大小,位置等 • 用户可随意添加删除各元素
[ Image information in product ] ▪ Image : ▪ Note to customers : This image has been licensed to be used within this PowerPoint template only.
N
Darrow_03
N
Text_01
Y
Save_01
Y
Line_01
Y
Line_02
N
Line_03
N
Line_04
Y
Line_05
N
Line_06
N
测试分析——测试用例的通过率
➢ 从上表可看出:在所有的29个用例中,通过测试的 有16个,故通过率为16/29=55.17%
测试分析——测试用例对功能特性的覆
盖情况
➢用户,矩形,椭圆等图标的添加,
矩形
缩放,删除,移动功能
பைடு நூலகம்
椭圆
用户
测试分析——测试用例对功能特性的覆
盖情况
➢各种箭头,实,虚线等图形的添加, 删除,旋转和改变长短功能
左箭头
右箭头
双箭头
实,虚线
测试分析——测试用例对功能特性的覆
盖情况
➢文本的添加功能,图像的保存功能
文本和保存
➢从以上的分析可看出,测试用例覆盖了所有的功能特性
You may not extract the image for any other use.
UseCase diagram绘制软件
»界面截图
[ Image information in product ] ▪ Image : ▪ Note to customers : This image has been licensed to be used within this PowerPoint template only.
测试用例
➢ 针对箭头,实,虚线模块设计的用例有:
添加(Rarrow_01,Larrow_01,Darrow_01,Line_01,Line_04) 删除(Rarrow_02,Larrow_02,Darrow_02,Line_02,Line_05) 旋转和改变长短(Rarrow_03,Larrow_03,Darrow_03,Line_03, Line_06)