Combination query use case-how to design orthogonal design

Orthogonal table assistant download address: http://www.piaodown.com/soft/89723.htm


1. Basic knowledge of orthogonal table 1. What are factors

In an experiment, all variables to be examined are called factors (variables)

2. What is the level

Within the scope of the experiment, the value of the factor being investigated is called the level (value of the variable)

3. What is an orthogonal experimental design

It is a design method for studying multiple factors and multiple levels. It selects some representative points from a comprehensive test based on orthogonality for testing. These representative points have the characteristics of "evenly dispersed, neat and comparable" , Orthogonal experimental design is an efficient, fast and economical experimental design method based on orthogonal table

4. The composition of orthogonal table

Number of rows: the number of rows in the orthogonal table, that is, the number of trials

Number of factors: the number of columns in the orthogonal table.

Level: The maximum number of values ​​that any single factor can achieve. The values ​​contained in the orthogonal table are from 0 to the number "level number -1" or from 1 to the "level number".
Insert picture description here
Insert picture description here
L16_4_5

"L" means orthogonal table

"16" is the number of rows, equivalent to the number of trials

"5" is the number of columns, equal to 5 query conditions

The value of "4" query condition is equivalent to 4 values ​​of "please select, short-term, long-term, permanent"

5. Orthogonal table is orthogonal, which means that it has the following two characteristics:

(1) Different numbers in each column are repeated the same number of times. For example, there are 4 different numbers in each column: 1, 2, 3, 4 each appear 4 times.
(2) Concatenate the numbers in any two columns into one number, and repeat the same number in every two columns. Such as: any two column numbers: (1,1),(1,2),(1,3),(2,1),(2,2),(2,3),(3,1),( 3,2),(3,3) each pair appears once.

2. Use orthogonal table to make a query example
Insert picture description here
1. Analysis needs to get the number of factors and the number of factor values

Number of factors: 3 (Query conditions: name, ID number, mobile phone number)

Number of factor values: 2 (query conditions: do not fill in, fill in)

2. Choose the right orthogonal table

L4_2_3
L8_2_7
L12_2_11
L16_2_15
L9_3_4
L18_3_7
L27_3_13
L16_4_5
L32_4_9
L25_5_6
L50_5_11

Analysis: The number of factors is 3, the number of each factor value is 2 (ie, 2 levels), and the number of rows is the smallest

The best choice from the above table is L4_2_3, which is L4 (23), L4 row, 2 levels, 3 factors

3. Use orthogonal tables to generate use cases

Download the orthogonal table design assistant: http://www.xiazaiba.com/html/72265.html

1) Select the orthogonal table, Figure 1

2) Design factors and levels, enter the name of the factor, and fill in the value for the level, as shown in Figure 2 (shown here as filled/not filled, which can be converted into multiple values, such as: short-term, long-term, permanent)

3) Generate use cases, Figure 3
Insert picture description here
Figure 1
Insert picture description here
Figure 2
Insert picture description here
Figure 3

4. Transform into specific use cases

Use case 1: Fill in the name, ID number, and mobile phone number

Use case 2: Fill in the name, leave the ID number, leave the mobile phone number

Use case 3: Not fill in name, ID number, and mobile phone number

Use case 4: Don’t fill in name, ID number, and mobile phone number

5. Add insufficient use cases

Use case 5: Do not fill in the name, ID number, and mobile phone number

6. The number of factors does not match the orthogonal list (that is, the number of query conditions is not the same as the orthogonal list)

For example: 5 factors, 2 values ​​for each factor, the selected factor is slightly larger than the current value. Choose L8_2_7
Insert picture description here
Insert picture description here
7. The number of levels is different (different factor values)

Name: A/B
Gender: A/B
Age: A/B/C
Height: A/B/C
Weight: A/B/C/D/E/F

There are 5 factors, 4 for values ​​(level) >= 3, and 1 for values ​​>= 6

4*(3-1)+1*(5-1)+1=8+4+1=13 at least 13 lines

L49 (78) and L18 (3661), choose L18 (3661)

https://www.cnblogs.com/baihuitestsoftware/articles/6408509.html

Guess you like

Origin blog.csdn.net/Love_Polaris/article/details/97259841