Parameter tuning, file creation method and device for regression testing
A technology of regression testing and parameters, applied in the field of testing, can solve problems such as reducing efficiency and increasing the workload of verification engineers
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0073] Please refer to figure 2 , this embodiment provides a parameter tuning method for regression testing, including:
[0074] S21. Obtain the correlation between multiple test points, multiple test cases and control parameters of regression testing in the test plan;
[0075] S22. Based on the association relationship, adjust the control parameters corresponding to the multiple test cases to obtain the adjusted control parameters.
[0076] S21 When obtaining the above association relationship, the test case can be used as a bridge between the test plan and the regression test control, and the mapping from the test point in the test plan to the test case can be associated according to the control requirements of the regression test, and the test point can be established. The mapping relationship with each verification environment, each regression test grouping is the mapping relationship between regression grouping and simulation options. This method links the reusability ...
Embodiment A1
[0081] Please refer to Figure 4 , and the function point N represents the Nth function point extracted from the chip design specification. The test point N.M represents the Mth test point corresponding to the function point N. Test cases A1, C1 and C2 are the test cases required to cover test point N.M. Moreover, test case A1 covers both test point N.M and test point 1.1; test case C1 covers both test point N.M and test point 2.1; test case C2 covers both test point N.M and test point N.2.
[0082] After the first association relationship is constructed based on S211, S212 is further executed to determine the second association relationship between each test case and the control parameters of the regression test according to each test point corresponding to the test case. Among them, the control parameters of regression testing include one or more of the following parameters: verification environment, simulation options, seed value of direct test cases, iteration times of r...
Embodiment 2
[0106] Please refer to Figure 7 , the present embodiment provides a method for establishing a file for regression testing, including:
[0107] S71. Establish a first association relationship between multiple test points in the test plan and multiple test cases;
[0108] S72, for each test case, determine the second association relationship between the test case and the control parameters of the regression test according to each test point corresponding to the test case, where the control parameters include the verification environment and simulation options of the regression test;
[0109] S73. Create a file for regression testing according to the test plan, the control parameters, the first association relationship, and the second association relationship.
[0110] The establishment of the foregoing first association relationship and the second association relationship has been described in detail in the foregoing S211-S212, and will not be repeated here. The co...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


