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

Test method and device

A testing method and testing device technology, applied in the direction of software testing/debugging, etc., can solve the problems of low testing efficiency, program defects, lack of test case completeness evaluation test case hierarchical ordering, etc., to improve customer satisfaction, avoid The effect of field defects and improving test efficiency

Inactive Publication Date: 2017-05-03
SHANGHAI ZTE SOFTWARE CO LTD
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In addition, under the premise that the program function does not change, code refactoring will introduce program defects with a certain probability, and test cases may need to be changed accordingly to adapt to code refactoring
[0006] However, in the commonly used test methods at present, there is no method of evaluating the completeness of test cases and adopting the method of hierarchical sorting of test cases, so there is a problem of low 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 method and device
  • Test method and device
  • Test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0108] Such as image 3As shown, after the version is released and tested, the evaluation process of the use cases is triggered. The data pool manages defects (outside defects and internal defects), requirements changes, and information corresponding to code refactoring requirements in a unified manner. The data parameters in the pool include parameters such as number, change type, time, and software change integration version number. External defects, requirement changes, code refactoring requirements, and internal defects follow the same data numbering rules in the data pool. Different situations are distinguished by change types, which are usually represented by numbers, for example, 1-outside defect, 2-requirement change, 3-code refactoring, 4-internal defect. Numbers are more convenient in program processing. Of course, other methods can be used to change the type, and the efficiency will be reduced in subsequent processing. In the software version change, which version...

Embodiment 2

[0116] The method described in embodiment 2 is roughly the same as embodiment 1, the difference is that, as Figure 5 As shown, embodiment 2 triggers test case evaluation through SCM, refer to Figure 5 , when the software code change is submitted through SCM, for example, after the code change is submitted through svn (Subversion) software (a version management software), the custom script is triggered to call, and the test case evaluation is initiated. At the same time, the code change information (such as changing the code circle Complexity, number of lines of changed code, version number) and the corresponding "data number" in the data pool are passed to the test case evaluation module. Then the test case evaluation module searches for the corresponding test case in the test case management system according to the data pool "data number". If it is not found, a pending task is generated in the task management module, and an email is triggered to notify relevant personnel 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 invention provides a test method and device. The method comprises the steps of acquiring a test case corresponding to a test item, and building a test case table, wherein at least one test case is corresponding to each test item; respectively allocating the test cases corresponding to different test items in the test case table to different priority layers for sequencing, and building a test case execution sequence table; and performing test according to the test case execution sequence table. By sequencing the test cases, a test key point is highlighted, defects existing in software can be found out as early as possible, the test efficient is improved, out-field defects are prevented from being happened again, and the customer satisfaction is improved to a certain extent.

Description

technical field [0001] The invention relates to the technical field of computer testing, in particular to a testing method and device. Background technique [0002] With the rapid development of computer testing technology, in computer program testing and development, especially in the agile development management mode, in order to meet user needs, the required cycle is shortened, and the scale of program code, test cases and test scripts increases rapidly. In order to improve the use efficiency of test cases, relevant personnel have done a lot of research work on the methods of selecting test cases and adjusting the execution order. The assumption of the research is that the test cases are complete, and the completeness of the test cases has a great influence on the test results. influences. [0003] No matter how complete the test case design is, after the application version is released for commercial use, customers will always find defects that affect the use during use...

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/36
Inventor 郭学彬
Owner SHANGHAI ZTE SOFTWARE CO LTD