Matrix-model-based software testing method

A software testing method and matrix model technology, applied in the direction of software testing/debugging, can solve the problems of difficult targeted testing, prolonging the testing period, increasing the testing period, etc., so as to ensure the software quality, reduce the testing cost, and meet the testing needs. Effect

Inactive Publication Date: 2015-02-11
上海新炬网络技术有限公司
View PDF3 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] 1) Low test coverage: In the face of a large number of test function points, the test design based on black-box testing can only cover some combinations, resulting in low test coverage and it is difficult to test the functions of the entire software verify
[0014] 2) The design of test cases is chaotic and there are many repeated use cases: due to the mixed use of various test design methods, the use case design is chaotic, and the verification of the same function points inevitably introduces a large number of repeated use cases. In the actual test execution process However, these repeated use cases not only fail to mine software defects, but take up a lot of test time, prolong the test cycle, and increase the test cost.
[0015] 3) Low test accuracy: the current tests are all generic tests, regardless of primary or secondary, the execution of test cases has no priority division, and the execution mode in the execution process is serial execution, so the test efficiency is low, and It is impossible to make a comprehensive evaluation of the functional robustness of the entire system in a short period of time. The evaluation of software functions can only be performed on the basis of the execution of all use cases, which increases the test cycle
[0016] 4) It is difficult to carry out targeted testing in agile development: the extraction and testing of software core function points is an indispensable link in agile development, and the defects of existing test design methods make it impossible to design for the core function points of software Produce high-coverage and high-precision test cases
For iterative versions, the test coverage is always difficult to achieve the expected results, making it difficult for decision makers to have confidence in the quality of the software, so they miss the timing of software release

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
  • Matrix-model-based software testing method
  • Matrix-model-based software testing method
  • Matrix-model-based software testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0036] figure 1 It is a schematic diagram of the software testing process based on the matrix model of the present invention.

[0037] See figure 1 , the software testing method based on matrix model provided by the present invention comprises the following steps:

[0038] Step S1: first divide the software system into functional modules;

[0039] Step S2: Then split and combine the functional modules to form hierarchical function test points;

[0040] Step S3: Generate a test case set by constructing a coverage matrix for all hierarchical functional test points, so that each effective value of any pair of input parameters of each hierarchical functional test point is covered by at least one test case.

[0041] Existing test design methods start directly from the function points, and then conduct test design for the input and output, ignoring the an...

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 matrix-model-based software testing method. The matrix-model-based software testing method comprises the following steps: a) dividing a software system according to function modules; b) splitting and combining the function modules to form layer-level function test points; c) establishing a test case set by structuring a covering matrix for all layer-level function test points, so that each valid value of any pair of input parameters in each level of function test point is coated with at least one test case, wherein in the step c), for the function test point with less than or equal to three input parameters and valid values, the two-coverage test case set is directly established by Latin square. In the matrix-model-based software testing method, by extracting the function test points and matrixing the function test points, the optimal test case set is obtained through matrix calculation, so that the coverage rate, the testing efficiency and the testing accuracy can be improved all around, a testing need of a large software system can be met and the testing cost can be reduced.

Description

technical field [0001] The invention relates to a software testing method, in particular to a matrix model-based software testing method. Background technique [0002] With the rapid improvement of hardware performance, software functions are also showing a trend of diversification and complexity. The complex combination of software function modules has brought unprecedented challenges to test design. How to design efficient and high-coverage test cases has been How to perform accurate test coverage on a huge system in a relatively short period of time has become the primary problem facing the software testing industry. [0003] At present, the main methods of test design are as follows: [0004] 1. Equivalence class division method: the most commonly used method for test design. This method divides the input domain of the program into several subsets, and then extracts a small number of representative data from each subset as test cases. Each input data in the subset is im...

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 上海新炬网络技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products