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

Method and system for automatically reporting software defects

A software defect and defect technology, applied in software testing/debugging, instrumentation, electrical and digital data processing, etc., can solve problems such as poor flexibility, difficult expansion, software defects, etc., to improve the degree of automation, reduce manual intervention, and achieve high flexibility Effect

Inactive Publication Date: 2019-01-11
FENGHUO COMM SCI & TECH CO LTD
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical problem to be solved by the present invention is that the existing software defect testing scheme is low in efficiency, difficult to expand, and poor in flexibility

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 system for automatically reporting software defects
  • Method and system for automatically reporting software defects
  • Method and system for automatically reporting software defects

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0052] Such as figure 1As shown, a method for automatically reporting software defects provided by the present invention includes the following steps:

[0053] Step S10 , according to the test requirements of the software and the test platform used for the test, write test cases for various functions of the software, and form a list of software defect tests.

[0054] Step S20, the tester sets a corresponding location mark for the fault test information on the basis of the above software test case, and then adds the fault test information to the test case to form a test case for the fault test information with the location mark.

[0055] Step S30, start the software automation test platform, automatically run all the test cases in the test list on the test platform, and carry out the software function test; when a software failure occurs, the test platform will automatically generate a test log, which contains the Troubleshooting information for location identification.

[00...

specific Embodiment 2

[0074] This specific embodiment 2 is further refinement of inserting the fault test information with the positioning mark in the test case, and the specific method is:

[0075] First, analyze the fault types of test cases according to the software design and implementation mechanism and the experience of testers; then, according to the known fault types, formulate a fault diagnosis process, which forms fault test information with location marks; finally, The known fault diagnosis process is added to the test case to form a software test case with the fault test information of the location mark.

[0076] Among them, according to the specific test platform used in software testing, write the corresponding software test cases.

specific Embodiment 3

[0078] This specific embodiment 3 is a further refinement of setting the fault test information in the test case and writing the fault test information into the test log. The specific method is to use the form of keywords to write the relevant fault diagnosis information Added to the test case, these keywords become the location identifier of the fault test information in the test case. When an error occurs during the test, use keywords to mark each BUG feature item and save it in the test log to realize automatic recording of BUG information.

[0079] For example, when adding test problem environment information in the test log, the corresponding code in the test case is as follows:

[0080] print log "environment test started"

[0081] Print log "integration test first round environment"

[0082] Print the log "environmental test ended";

[0083] When adding "test steps and phenomena" information in the test log, the corresponding code in the test case is as follows:

[...

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 method and system for automatically reporting software defects, wherein, the method comprises the following steps: according to a software test function and a test platform used, a software test case is compiled; fault test information with location identification is added to software test cases; the test case is automatically run for software testing and a test log is generated when software failure occurs, wherein the test log contains fault diagnosis information with a positioning mark; the fault diagnosis information in the test log is extracted, and software defects are formed and reported to the defect tracking system. The invention adds fault test information with positioning mark to test case, and during the testing process, the fault diagnosis informationwith a positioning mark is generated and reported to the defect tracking system, so that there is no need to set up various bug templates in advance, the manual intervention in the later testing period is reduced, the automation degree of the continuous integration platform is improved, and the whole testing, analysis and reporting process is easy to expand and has high flexibility.

Description

technical field [0001] The invention relates to the technical field of software development and testing, in particular to a method and system for automatically reporting software defects, which are used to solve the management problem of software defects after the software function test is completed. Background technique [0002] At present, with the help of various continuous integration software and automated testing platforms, the continuous integration of computer software development process can be realized to a certain extent. For example: After the monitoring code management server is updated, the version compilation is completed on the compilation server; after that, the test results are obtained on the test server. [0003] The above traditional continuous integration platforms focus on the automation of the testing process, while the software defect reporting management after testing needs to be manually analyzed and submitted to a defect tracking system, such as 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
IPC IPC(8): G06F11/36
CPCG06F11/3672G06F11/3692
Inventor 陶长裕张亨学梁思宇
Owner FENGHUO COMM SCI & 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