"Android Test" "essay" Test analysis--decision table, decision tree

Source: Internet
Author: User

Objective

In the process of programming, multiple layers of logic control are often nested, and such nesting relationships often lead to the inability to visually see the logical relationship of the program, which can lead to a relatively easy omission during the testing process. So we need to introduce decision table and decision Tree , in which decision table is a very important tool in designing logic control .

Decision table

Not much to say, first look at the definition (although not many people can see at a glance), but I decided to first listed here, and so you read the following examples will understand. Concept: Decision tables are tools for analyzing and expressing different operations under multiple logical conditions.

  

Composition
Conditional piles--list all the conditions of the problem
Condition Item--Lists all possible values for conditions given by the condition pile
Action Piles--lists possible actions that the problem prescribes
Action item-The action that the expense should take when each group of the condition item is evaluated
Rules--specific values for any combination of conditions and their corresponding actions are called rules. A column that runs through the condition and action items in a decision table is a rule.

Steps to establish a decision table

Determine the number of rules
List all the conditions piles and action piles
Fill in Conditional items
Fill in action piles and action items to get the initial decision table
Simplification, merging of similar rules
Select test data and design test cases according to the decision table

"Android Test" "essay" Test analysis--decision table, decision tree

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.