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

Method and device for testing software product robustness

A technology of software products and testing methods, which is applied in the field of software product reliability verification, can solve problems such as inconvenient maintenance, inflexible value selection, and increased operation difficulty, so as to reduce the difficulty of manual operation, achieve advanced principles, and improve the degree of automation Effect

Inactive Publication Date: 2007-11-28
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The disadvantage of this method is that: personnel participate in the design and construction of test cases to a high degree, and there are also high requirements for personnel quality and workload. The whole test takes a lot of time and labor costs in the early design and construction.
The interface parameters of the tested object are complex and changeable, with various forms. Using a type template to describe a certain type often cannot fully express the meaning of the test object. Even if it is described, its reusability will decrease due to factors such as the use environment
[0016] Fourth, the depth of testing is insufficient
The complexity and diversity of the internal definition of the data structure makes the template's description of the internal member fields of the structure complex and changeable, and also makes it impossible for the tool data type template to construct the test data, which cannot satisfy the large number of internal members of the complex structure. domain test
[0017] Fifth, in the case of a large number of data types, it is not easy to maintain
Data types and data will continue to increase during use, and data types and data are described through templates (similar to encoding), which will cause problems in later maintenance
[0018] Finally, test data lacks flexibility
The test value defined by the data type must be explained in the tool template, so that users and tools cannot change or generate the required data at will, resulting in inflexibility in the value and increasing the difficulty of operation

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
  • Method and device for testing software product robustness
  • Method and device for testing software product robustness
  • Method and device for testing software product robustness

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] Please refer to FIG. 3 , which is a schematic diagram of a system implementing the robustness testing method of the present invention. The method of the invention includes a test case automatic generation part and a test object code execution part.

[0067] First, the test case is automatically generated on the computer 910, that is, the automatic generation of the test case (test code) is automatically completed; then, by compiling, connecting and other means, the executable target test code is generated together with the object under test; subsequently, the computer 910 will The executable target test code is loaded onto the running hardware platform 930 of the object under test through connecting lines 920 such as a network cable and a serial port line, and the executable target test code is started to run. During the operation of the target test code, information is exchanged with the computer 910 through the connection line 920 such as a network cable and a serial ...

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 method includes steps: parsing object to be tested, picking up tested information from the object tested; displaying the picked test information, receiving test information input from user; generating test case based on the picked test information and the inputted test information; combining the test case and object to be tested creates testing target codes; running the testing target codes implements test for robustness of software product. The invention also related to device for testing robustness of software product. The invention can realizes automatic generation and automatic extraction for test information of tested object.

Description

technical field [0001] The invention relates to software product reliability verification technology, in particular to a software product robustness testing method and device. Background technique [0002] With the development of information technology, the application of software products is becoming more and more extensive, which affects people's work, study and life and many other fields. When software products are designed or running, their application reliability needs to be tested in order to carry out targeted Improve, for example, testing of the robustness of software products. Testing of software products usually includes testing of software systems or software components. The so-called software components refer to software modules that have independent interfaces and can complete certain functions. [0003] Software robustness is the degree to which a software system or component functions properly under abnormal inputs or stressful environmental conditions. Robu...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 广远伟王云鹏陈亿发
Owner HUAWEI TECH CO LTD
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