当前位置:网站首页>Black box test - decision table method of test cases

Black box test - decision table method of test cases

2022-06-26 01:11:00 Treasure girl's Growth Diary

One 、 Application scenarios

In some data processing problems , When there are too many combinations of logical condition values , The decision table is a good choice !

Two 、 Decision table method definition

The decision table usually consists of four parts , as follows :
They mean :

Condition stake : List all the conditions of the problem

Condition item : List the values of conditional piles in the left column ( True or false )

Action post : List problems and specify possible actions to be taken

Action items : List the actions to be taken under the corresponding condition item combination .
 Insert picture description here

https://blog.csdn.net/hanhanwanghaha Treasure girl Your attention is welcome !
Welcome to WeChat official account. : Treasure girl's Growth Diary
If reproduced , Please indicate the source ( If not indicated , Whoever steals will be prosecuted )

3、 ... and 、 step

  1. List all conditions and actions
    ( How to determine the number of rules ? Join a n Conditions , Each condition has two values (0,1), There are 2n Rules in

  2. Generate decision table

  3. Simplify the decision table ( Merge similar rules , Same action )

  4. Get the test case

Four 、 actual combat — case analysis

If required “ For power greater than 50 A horsepower machine or ( The maintenance record is incomplete and has been operated 10 Machines more than 10 years old ), Priority should be given to maintenance ”, Please give the decision table .

  1. List all conditions and actions

This can be done on the draft ( Omission )

  1. Generate decision table
     Insert picture description here
  2. Simplify the decision table ( Merge similar rules , Same action )
     Insert picture description here

Be careful :“——” Can be really It can also be for false .
4. Get the test case
 Insert picture description here

The main points of the decision table method are basically here , ha-ha , It is mainly practical understanding .
 Insert picture description here

https://blog.csdn.net/hanhanwanghaha Treasure girl Your attention is welcome !
Welcome to WeChat official account. : Treasure girl's Growth Diary
If reproduced , Please indicate the source ( If not indicated , Whoever steals will be prosecuted )

原网站

版权声明
本文为[Treasure girl's Growth Diary]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206252315409794.html