Unlock instant, AI-driven research and patent intelligence for your innovation.

Software testing method and device

A test method and a test device technology, applied in the computer field, can solve the problems of large number of defects, large amount of software code, time-consuming, etc., and achieve the effect of realizing automation and improving test efficiency

Active Publication Date: 2015-03-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The amount of software code is often very large, so it will be very time-consuming to perform a static scan of the source code of the entire project during software testing
At the same time, the number of defects obtained by a full scan will be very large
Therefore, if the static analysis is performed uniformly when the project is about to be released, and all defects are submitted to the developers at one time, this will inevitably reduce the efficiency and quality of software development

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
  • Software testing method and device
  • Software testing method and device
  • Software testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0021] The main idea of ​​the present invention is that when performing static analysis on source code differences, the static analysis results of the current version of the source code can be obtained first, and the static analysis results corresponding to the difference files can be obtained by filtering the difference file information between the current version and the previous version . Then judge whether the static analysis result is a historical defect or a newly added defect, and generate a corresponding vulnerability (bug) list based on the judgment result for code developers to view and solve. Therefore, the invention realizes the automation of static analy...

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 discloses a software testing method. The method comprises, when a software testing instruction is detected, preforming static analysis on the source code of current-version software to obtain a static analysis result, and meanwhile, obtaining difference file information of the current-version software and previous-version software; according to the difference file information of the current-version software and the previous-version software, filtering the static analysis result to obtain a static analysis result corresponding to difference files; according to the static analysis result corresponding to the difference files, generating a bug list. Correspondingly, the invention also discloses a software testing device. By performing the static analysis on the source code to obtain the static analysis result, meanwhile obtaining the difference file information of the current-version software and the previous-version software to perform filtering and to obtain the static analysis result corresponding to the difference files, and then automatically generating the bug list according to the static analysis result, the software testing method and device can achieve automation of static analysis and improve the software testing efficiency.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a software testing method and device. Background technique [0002] The amount of software code is often very large, so it will be very time-consuming to perform a static scan of the source code of the entire project during software testing. At the same time, the number of defects obtained by a full scan will be very large. Therefore, if the static analysis is performed uniformly when the project is about to be released, and all defects are submitted to the developers at one time, this will inevitably reduce the efficiency and quality of software development. Therefore, there is an urgent need for a static analysis method that can improve the efficiency of software testing. Contents of the invention [0003] Embodiments of the present invention provide a software testing method and device, aiming at improving the efficiency of software testing. [0004] The embodiment of t...

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 TENCENT TECH (SHENZHEN) CO LTD