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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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:
[...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com