Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Study test, let's learn ② from the theory.

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Don't talk too much nonsense, let's go on to the last one today. The theory is boring, but it still needs to be seen. Brothers, you can listen to the music and watch these boring theories.

Today we start with the causality diagram / decision table method:

I. Application situation

There are multiple controls in the interface, there are combinations or restrictions between the controls, different input combinations will correspond to different output results, if

To find out which output results different input combinations correspond to, you can use the causality diagram / decision chart method. (

It is suggested that the causality diagram / decision table method is more suitable for the case of a small number of test combinations, generally less than 20)

Second, causality diagram

Cause (reason): enter a condition

Fruit (result): output result

Causality diagram: the relationship between input conditions and output results is represented by drawing.

III. Graphical symbols in the causality diagram

1. Basic graphic symbols

It represents the relationship between cause and effect.

1) identity

Amurb

Cause and effect

Identity

2) vs.

All 1 bit 1, where 0 is 0

3) or

All zero bits 0, there are 1 bit 1

4) No: reverse

2. Graphical symbols of restriction relations

The restriction relationship graph is either between the factors (input conditions) or between the results (output results)

1) mutually exclusive (E-exclude)

Meaning: you don't have to choose, if you choose, you can only choose one.

2) unique (O-Only)

Meaning: there is one and only one, one must be chosen.

3) include (I-include)

Meaning: choose at least one (you can choose more, you have to choose)

4) requirements (R-require)

Meaning: if axi1 is required, then bread1 is required, and vice versa, then b does not matter

5) shielding (M-masked)

Meaning: when Aban 1, bounded 0 is required, and when axed 0, it may be 1 or 0.

Summary

1. The causality diagram / decision table is suitable for the combination of test controls, and it is suitable for the situation where there are few combination tables.

Common controls are buttons, radio buttons, check boxes, drop-down lists with fewer options, and so on.

2. The characteristics of the decision table:

1) the order of input conditions (conditional piles) is irrelevant.

2) the order of the output results (action piles) is irrelevant.

3) it doesn't matter which combination is tested first and which combination is tested later.

4) each combination is independent of each other.

That's all for today. I'm too tired today. I'll continue tomorrow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report