Random test case generation method facing Java program
A random testing and program technology, applied in the field of automated test case generation, which can solve the problems of many invalid and redundant test cases and low code coverage.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0060] Such as figure 1 As shown, the method of the present invention includes six basic steps: (1) parse the class definition of the Java program to obtain the list of object methods; (2) establish a dependency graph between object methods, including a method call graph and an attribute dependency graph; (3) ) Determine the list of target methods to be covered; (4) Generate a call chain for the purpose of instantiating public classes; (5) Generate a call chain for the purpose of covering target methods; (6) Generate a Java program test based on the call chain library Set of use cases. In the meantime, it is necessary to maintain and expand the class object library and call chain library to help generate effective test cases. The input of the method is a Java program, which can be represented by a directory containing the Java program, or a jar package (.jar file) that integrates the Java program; the output is a test case set, which is described by the JUnit test case frame...
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