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

Method for automated verification and regression test of software unit

A technology for automated verification and regression testing, applied in software testing/debugging and other directions, which can solve the problems of low regression testing efficiency and low degree of automation.

Active Publication Date: 2015-12-02
CASCO SIGNAL
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is exactly to provide a kind of automatic verification and regression testing method for software unit in order to overcome the defect that above-mentioned prior art exists, aims at overcoming the prior art low degree of automation, the problem and defective of regression testing efficiency low, realize Convenient support for automated regression testing

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 for automated verification and regression test of software unit
  • Method for automated verification and regression test of software unit
  • Method for automated verification and regression test of software unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0035] Such as figure 1 The flow chart of this method is composed of two stages: use case design and use case execution, which are specifically described as follows:

[0036] 1. Use case design phase:

[0037] Taking the detailed design document, test source code and the previous round of test case sets as input, verify the detailed design document and test cases through keyword retrieval and comparison, and use automatic regression tools to confirm whether the test cases conform to the source code design, so as to It can check whether the test case design is reasonable and whether the source code design is consistent with the detailed design document, such as: whether the formal parameter boundary test is complete, whether the global variable output is checked, whether the valid range of the source code formal parameter is consistent with the detailed design document, etc. If any defects are found above, they will be fed back to the testers or developers respectively accordi...

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 relates to a method for automated verification and regression test of a software unit. The method comprises the following steps of: 1) in a use-case design process, constructing a test use-case set; and 2) in a use-case execution process, using the constructed test use-case set to automatically test the software unit. Compared with prior art, the method for automated verification and regression test of the software unit has the advantages of making full use of software / hardware resources, improving work efficiency and the like.

Description

technical field [0001] The invention relates to a software unit testing technology, in particular to an automatic verification and regression testing method for software units. Background technique [0002] Software unit testing is the process of checking and verifying the smallest testable unit. It occupies a large proportion of workload in the entire software testing process, and unit regression testing activities fill each round of software iterative development process. It is a software development life cycle. an important part of it. At present, there are many unit testing tools on the market, for example, C++Test, VisualUnit, TestBed, etc. that support C / C++ language; JUnit that supports Java language, etc. With the help of these tools, although it is no longer necessary to write a large number of stub functions and driver functions, the process of unit testing has been greatly simplified, but this is only the individual execution of test cases, which can only be call...

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
Inventor 顾文华宋赢硕张立鹏王晓琼王卉
Owner CASCO SIGNAL
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