Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic test case generation and test process management method based on white box analysis

A test case and automatic generation technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as inability to analyze system architecture, unfavorable for testers, low efficiency of design use cases, etc.

Pending Publication Date: 2020-02-04
天津汇缘诚信科技有限公司
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The existing technologies are usually mainly aimed at functional testing, and only provide users with an interface for inputting test cases and an interface for observing test results, but will not help users generate and execute test cases, and cannot manage the test process, record the test process, Traceability and other functions, this technical implementation idea will cause the following consequences:
[0003] (1) In the simulated or real target machine environment, provide users with digital external data injection ports and function output observation points, which usually can only meet the needs of user function tests, such as figure 1 shown;
[0004] (2) Not based on white-box analysis, unable to provide users with accurate system architecture analysis, unable to provide users with basic reference information for designing test cases, especially not conducive to testers who are not familiar with the entire large system;
[0005] (3) Without complete white box analysis data, it is impossible to provide users with input and output reference values ​​in the process of test case design, and the efficiency of design use cases is low;
[0006] (4) Without white-box analysis data, it is impossible to provide users with automatic test case generation functions, and it is impossible to associate the executed test cases with user codes to provide users with key auxiliary information such as coverage and test efficiency;
[0007] (5) In the absence of automatic test case generation function, it is impossible to provide users with additional functions such as automatic test case execution and adequacy test
[0015] (4) Limitation of testing methods
[0016] Traditional technology does not provide adequacy testing of all codes and branches in the entire system, only functional testing, which will result in a large number of codes not being fully tested or even missed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic test case generation and test process management method based on white box analysis
  • Automatic test case generation and test process management method based on white box analysis
  • Automatic test case generation and test process management method based on white box analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0074] In recent years, my country's aerospace industry has developed rapidly. The number of satellites in orbit has exceeded 140, and more and more foreign satellite development and launch orders have been undertaken. salient features.

[0075] On the basis of years of experience in satellite ground simulation system testing and R&D projects, we have independently developed an embedded integrated simulation test environment. The system provides a set of visualization tool-based, flexible, general, systematic and scalable satelli...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an automatic test case generation and test process management method based on white box analysis, which comprises the following steps: configuring a test environment, and analyzing and displaying a user code structure; performing white box static analysis on the user code to obtain a white box analysis result; carrying out test process management on the basis of a white boxanalysis result, including the steps of obtaining a test demand of a user, designing a test process and a corresponding test case according to the test demand, and managing the test case which is automatically generated and customized by the user; carrying out dynamic tests on the basis of a white box analysis result, including adequacy test, coverage rate test, function test, time performance test, variable dynamic analysis and dynamic memory analysis, and then generating a dynamic test report; and executing the test cases on the basis of the white box analysis result to obtain the test result and the coverage condition of each node in the function call relation graph. The invention can reduce the test workload of the user and improve the test efficiency.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method for automatically generating test cases and testing process management based on white-box analysis. Background technique [0002] The existing technologies are usually mainly aimed at functional testing, and only provide users with an interface for inputting test cases and an interface for observing test results, but will not help users generate and execute test cases, and cannot manage the test process, record the test process, Traceability and other functions, this technical implementation idea will cause the following consequences: [0003] (1) In the simulated or real target machine environment, provide users with digital external data injection ports and function output observation points, which usually can only meet the needs of user function tests, such as figure 1 shown; [0004] (2) Not based on white-box analysis, unable to provide users with accurat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3672
Inventor 薛龙达刘世忠
Owner 天津汇缘诚信科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products