博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
THE OVERARCHING PROCESS OF TEST DESIGN
阅读量:7103 次
发布时间:2019-06-28

本文共 3834 字,大约阅读时间需要 12 分钟。

THE OVERARCHING PROCESS OF TEST DESIGN

-Test note of “Essential Software Test Design”

2015-08-27 

Content:

 

Since test design is complicated, and contains many different approaches, it is appropriate to divide the work up into several steps.

Figure 8.1: Process for test design in four steps

8.1 Preparation – Get the Big Picture


 

Before you begin to develop test cases, it is a good idea to compile an overview of what is to be tested. Often, the test strategy contains some form of overview of the test coverage.

Find out which documents and other test basis are available to you to work from. This can be anything from business plans to technical models and program specifications with database descriptions. Go through the test basis and try to identify which requirements you are affected by. If the requirements are not written down, you need to conduct a dialogue with those placing the order, and the developer, in order to obtain the test basis you need.

All the requirements we have identified, and all the requirements we can assume exist, even if they are not written down, must now be tested. As a test designer, you must find a way of arriving at the right questions to ask.

 

8.2 Step One – Creating a Model of the Requirements


 

When the overview is complete, it is time to build test cases. Your first step is to model the requirements in a form which you will cover by test cases in the next step.

There are many types of model to use and, in the majority of projects, you must use several different types in order to give as good a variation as possible to the test cases. Common models are tables, flow graphs and state diagrams.

Remember that you must have early involvement in the project. You must develop your models in parallel with the requirements being written. By compiling the models, you will contribute to the quality assurance of both the requirements and the design.

Here, you have the opportunity to contribute genuinely to the common good, by asking important questions at such an early stage that they can be answered in time before the coding gets under way. On the other hand, do not try to develop all your test cases in detail before you have had your models examined and accepted by the rest of the project team. It is obviously a good thing to think like a tester and question almost everything, but do not be too hard in your criticism, since your job is to be an asset to the project team, and not to run down the other team members.

What you actually do is the part known as analysis in many project models, which often contains the steps requirements-analysis-design-coding-testing. It can be argued that those who compile the requirements, or those who design the system, should carry out this analysis but, in my experience, this is seldom the case. Also, even if those who write the requirements, or design the system, carry out this analysis, they do not ask the same questions as you do as a tester.

8.3 Step Two – Covering the Model, Creating Base Test Cases


 

Step two is to cover the model with test cases. In this way, you get a measure of which test coverage you have. Graphic models are filled in through writing test cases which encompass all the rectangles and circles in place, and the arrows linking them up. For formulae or sets of rules, it is a question of all the parameters involved being tested, as well as the most important combinations of them.

8.4 Step Three – Supplementing With Test Data


 

The base test cases we have generated in step two must now be run once or several times with different data in order to achieve a greater depth of testing.

Equivalence partitioning of each parameter and boundary value analysis provides you with relevant values for dividing up the test data. When

8.5 Step Four – Advanced Testing


 

 

转载于:https://www.cnblogs.com/Ming8006/p/4764082.html

你可能感兴趣的文章
小巧省电高性能:中科创达用创新技术助力ROLLCAP云台相机上市
查看>>
微软兼并Linkedln的六大作用
查看>>
制造业ERP的核心:生产控制
查看>>
物联网智能技术引领互联网新风潮
查看>>
汇量科技1172万美元收购欧洲移动游戏数据分析公司
查看>>
深度融合信息化 视频监控打击震慑犯罪
查看>>
智能家居未来已来,可没做到这点便是“鸡肋”!
查看>>
北卡一号光伏电站全容并网
查看>>
欧盟向美社交网络发出通牒 限期一月修改服务条款否则罚款
查看>>
等等AMD!英特尔最新路线图曝10nm延期
查看>>
无线领军企业的5G之路
查看>>
Android应用自动化测试——理论、工具和实践(上)
查看>>
《Clojure数据分析秘笈》——1.9节从网页中抓取文本数据
查看>>
WordPress 4.6.1 安全修复版发布
查看>>
保护普通用户上网安全 iOS版WiFi万能钥匙推出安全险
查看>>
链家跨界合作今日头条,大数据将重塑房产交易服务
查看>>
Chinapex创略宣布完成A轮融资 打造企业级数据驱动营销云平台
查看>>
Snapchat 首份成绩单表现不好,它未来还有更多“劫”要渡
查看>>
济宁用大数据“科学治气”
查看>>
联发科技与Orange合作加速物联网设备普及
查看>>