Test case generation method and system based on maximum likelihood estimation maximum expectation
A technology for test case generation and maximum likelihood estimation, which is applied in the computer field and can solve problems such as test cases with huge computational overhead.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2020-12-11
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of computer technology, in particular to a method and system for generating test cases based on maximum likelihood estimation and maximum expectation. Background technique
[0002] Software testing is an important link in the software development process. It can run the entire system or some modules manually or automatically, and judge whether the overall or partial functions of the software meet the specified requirements according to whether the expected results are consistent with the actual results. . At present, there are many types of technologies in the field of software testing, and the most common software testing technologies are white-box testing, gray-box testing, and black-box testing. However, no matter which test method the tester chooses to use, it is almost impossible to completely test the input domain of the software. Therefore, it is more common to select from some representative subset of the inp...
Examples
Embodiment Construction
[0043] The present invention provides a test case generation method based on maximum likelihood estimation and maximum expectation, including: by dividing the input domain into multiple sub-regions of different sizes, introducing latent variables and combining EM methods to estimate the possible Including the probability of the failure area, these sub-areas are finally sorted according to the probability size, and the test cases are generated in the top-ranked sub-area first, thereby reducing the computational overhead and alleviating the boundary effect. In order to comply with the practice in the technical field, the test case generation method based on maximum likelihood estimation and maximum expectation proposed by the present invention is now referred to as the EM-ART method for short.
[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invent...