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

Test system and method for scale software

A test system and test method technology, which is applied in the computer field, can solve problems such as reducing test reliability and test efficiency, and achieve the effects of improving test reliability and test efficiency, reducing test complexity, and improving coverage

Active Publication Date: 2017-03-29
中广核工程有限公司 +1
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Random testing may hit any function point in the input state space, and it may hit a function point that the tester has not thought of, thereby reducing the workload of the tester, but this randomness may lead to repeated coverage of the function point, random Tests often fail to achieve the expected test target set coverage, and many test vectors are redundant for function points, requiring multiple rebuild tests, which reduces test reliability and test efficiency

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
  • Test system and method for scale software
  • Test system and method for scale software
  • Test system and method for scale software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] The embodiment of the present invention provides a test system for large-scale software, see figure 1 , the test system consists of:

[0051] Vector generation module 1, is used for adopting the method for random test to generate test vector for the object under test;

[0052] The monitoring module 2 is configured to monitor the path coverage rate of the test target set of the object under test according to the generated test vector, and when the path coverage rate of the test target set reaches a critical state, search for and acquire the Paths not covered by the set of test targets for the object under test; and,

[0053] The model calculation module 3 is configured to establish a mathematical model according to the paths not covered by the test target set, and solve the mathematical model to obtain test vectors of the paths not covered by the test target set.

[0054] It should be noted that before the test is executed, a test platform is built to integrate various...

Embodiment 2

[0078] An embodiment of the present invention provides a method for testing large-scale software, which can be applied to the test system for large-scale software in the above-mentioned embodiments, see Figure 4 ,include:

[0079] S1. Generate test vectors for the tested object by means of function-driven and random testing;

[0080] S2. According to the generated test vectors, monitor the path coverage of the test target set of the tested object;

[0081]S3. When it is monitored that the path coverage rate of the test target set reaches a critical state, search for and acquire the paths that are not covered by the test target set of the object under test;

[0082] S4. Establish a mathematical model according to the paths not covered by the test target set, and solve the mathematical model to obtain test vectors of the paths not covered by the test target set.

[0083] Further, the monitoring of the path coverage of the test target set of the object under test according to ...

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 present invention discloses a test system and method for scale software. The test system comprises: a vector generating module, used for generating a test vector by a function drive and random test method for a tested object; a monitoring module, used for monitoring a path coverage of a test target set of the tested object according to the generated test vector, and when it it monitored that the path coverage of the test target set reaches a critical state, searching for and acquiring a path that is not covered of the test target set of the tested object; and a model calculation module, used for establishing a mathematical model according to the path that is not covered of the test target set, and solving the mathematical model to obtain a test vector of the path that is not covered of the test target set. The present invention provides a simple test vector set construction scheme, which can improve the coverage of the test target set and improve reliability and efficiency of tests.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a large-scale software testing system and method. Background technique [0002] Software testing describes a process used to facilitate the verification of the correctness, integrity, security, and quality of software. In other words, software testing is a process of reviewing or comparing the actual output with the expected output. The classic definition of software testing is: the process of operating the program under specified conditions to find program errors, measure the quality of the software, and evaluate whether it can meet the design requirements. Software testing is an important technical means to ensure software quality in software development and software verification and confirmation activities. [0003] The real problem faced by software testing is that for software with complex algorithm logic and large-scale input state space, it is difficult for the test to...

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
IPC IPC(8): G06F11/36
CPCG06F11/3676
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