Test case self-adaptive random generation method for metamorphic test
A technology of random generation and transformation testing, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as large amount of distance calculation and no support for difference measurement, achieving low memory consumption, low computational cost, fast effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.
[0031] Refer to attached figure 2 , taking the sine function sin as an example, this implementation includes the following steps,
[0032] (1) Initialization: Assume that the input domain [0,2π] is divided into [0,1], (1,π], (π,5], (5,2π], assuming that there is no executed test case, according to the input The domain randomly generates a batch and puts it into C RTC =Random(0,2π,10)={π / 3,2,3,...,5π / 3};
[0033] (2) Check whether all partitions of all parameters have been covered: if all partitions of all parameters include at least one test case, stop the test if the detection result is true, otherwise perform the next step;
[0034] (3) Select the non-covered partition and randomly generate a test case set for transformation: randomly generate 10 initial test inputs C in the interval [0,1] STC =Random(0,1,10)={0.1,0.2,...,1}, the transf...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com