当前位置:网站首页>Detailed explanation of the decision table method of common test case design methods
Detailed explanation of the decision table method of common test case design methods
2022-07-18 15:32:00 【Love coriander】
Theoretical part
Decision table is a tool to analyze and express different actions of the system under various input conditions , It can combine complex logical relationships with various The condition combination is expressed concretely and clearly .
Condition stake (Condition Stub)
Action post (Action Stub)
Condition item (Condition Entry)
Action items (Action Entry)

Steps to design use cases
1、 List all condition piles and action piles .
2、 Determine the number of rules . If there is one here 3 Conditions , Each condition has two values , So there should be 2×2×2=8 Rules .
3、 Fill in the conditions .
4、 Fill in the action pile and action item , Simplification , Merge similar rules .
5、 Turn each rule into a use case .
Related examples
Purchase movie tickets .
Condition stake
1、 Swipe Huaxia Credit Card ;
2、 Wednesday afternoon ;
3、 couples .
Action post
1、 Cinema ticket 8 fold ;
2、 Cinema ticket 7 fold ;
3、 Cinema ticket 5.6 fold ;
4、 Free tickets for girls .

Test case examples
1、 Non lovers don't swipe Huaxia information card on Wednesday afternoon , Conduct ticket purchase test ;
2、 Couples don't swipe Huaxia Credit Card on Wednesday afternoon , Conduct ticket purchase test .
Scope of application
1、 Multiple check boxes , At the same time choose , Do not select at the same time , Choose a part ;
2、 There are many kinds of logic in the function 、 Multiple relationships , When different conditions are combined , The corresponding results are different ;
3、 The logic processing process is complex . for example : Control system 、 Game testing .
Advantages and disadvantages of the decision table
advantage
It can list complex problems one by one according to various possible situations .
Concise and easy to understand , It can also avoid missing , Quickly list all possible situations , Including nonexistent combinations , You can combine according to the advantages .
shortcoming
There is a risk of missing measurement in the merger .
Because I made a full combination , So the number of use cases is especially large when there are many inputs ( Condition stake ), The portfolio grows exponentially .
Now I invite you to join our software testing learning exchange group :【746506216】, remarks “ The group of ”, We can discuss communication software testing together , Learn software testing together 、 Interview and other aspects of software testing , There will also be free live classes , Gain more testing skills , Let's advance together Python automated testing / Test Development , On the road to high pay .
Friends who like software testing , If my blog helps you 、 If you like my blog content , please “ give the thumbs-up ” “ Comment on ” “ Collection ” One Key triple connection !
边栏推荐
- 进程和线程的区别
- RS485接口OSI模型的应用层
- 【批处理DOS-CMD命令-汇总和小结】-符号链接、硬链接、软链接、目录联结(mklink)
- [dynamic memory allocation]
- Fun ping command
- El input number disable scientific counting without result, and replace it with El input (type= "number")
- Kotlin SQLite URL转义字符(Escape)(一)
- 综合评价方法
- Language AI originally knew whether his answer was correct! New research in Berkeley and other universities is hot, netizen: dangerous, dangerous, dangerous
- 【无标题】
猜你喜欢

Could not get lock /var/lib/dpkg/lock-frontend

【通信】【1】幅度调制,频率调制,双边带与单边带,IQ与PSK与QAM——采样一定要满足奈奎斯特定理吗
Win10 timed running program

RS485接口OSI模型的应用层

El input number disable scientific counting without result, and replace it with El input (type= "number")

VS2019 内联汇编开发

Comparison table of wireless transmission technical parameters of Internet of things

Distributed notes (01) - theory and principle of distributed cap

重新认识你的NFT

Fun ping command
随机推荐
【LeetCode】10. Maximum subarray · maximum subarray sum
[imaging] [7] terahertz optics - optical elements and subsystems
Tensorflow2.0 advanced learning RNN generated audio (12)
OSS object storage process
cron 表达式周一到周五执行以及只有周六周天执行
[source code] tensorboard visualizes MNIST recognition training process
[daily training] 515 Find the maximum value in each tree row
【服务器数据恢复】IBM某型号存储RAID5数据恢复案例
.net发布项目到服务器,文件形式
[server data recovery] a case of RAID5 data recovery of an IBM model storage
ACL 2022 | argument pair extraction based on reading comprehension
redis集群测试
Special testing of mobile applications [reprint ~ Test Engineer full stack technology advancement and practice]
CV2. Setmousecallback() displays the pixel value and position of the mouse click image
进程和线程的区别
Kotlin SQLite URL转义字符(Escape)(一)
How much does it cost for lazada, express and shopee to evaluate self-supporting numbers?
RMAN detailed tutorial (I) -- basic command code
Tensorflow2.0进阶学习-RNN生成音频 (十二)
Mipi CSI, DSI, UFS, c-phy, d-phy, m-phy concept understanding