Test case generating method based on relationship

A test case generation and test case technology, applied in the direction of software testing/debugging, program control devices, etc., can solve the problems of insufficient consideration of the interaction of factors, redundant testing of test cases, omissions, etc., to facilitate reference and expansion, and improve efficiency and quality effects

Inactive Publication Date: 2008-08-27
孙影 +4
View PDF0 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (2) Existing software test case design method
[0028] The test cases designed by the uniform test case design method take values ​​for each level of each factor, but the interaction between factors is not considered enough. For example, X1 and X2 are a pair of keywords, then X1 and X2 should be X2 takes repeated values ​​for testing, and the uniform use case design method cannot do this
[0029] Both the orthogonal test case design method and the uniform test case design method are derived from the experimental design. They are experimental methods designed to determine the influence of the relationship between various factors on the results. In the software test case desi

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 case generating method based on relationship
  • Test case generating method based on relationship
  • Test case generating method based on relationship

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] At first, illustrate the key steps of the inventive method, specifically include:

[0053] A. Design key test points for GUI dialog boxes, buttons, similar functions and associated controls;

[0054] B. Determine the control relationship diagram according to the requirements and detailed design, and design test cases according to the independent relationship and association relationship between controls;

[0055] C. Determine the functional relationship diagram according to the reference relationship between functions, and design test cases according to the functional relationship diagram;

[0056] Step A further includes:

[0057] A1. Optimize the test points of each control based on the experience of boundary value testing, equivalence class testing and various abnormal testing;

[0058] A2. Make the test points of each control into a template, which is convenient for future reference and expansion.

[0059] Step B further includes:

[0060] B1. Determine the cont...

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 present invention relates a test example generating method based on relationship, comprising the following steps of: selecting the test point of each control of a graphical user interface to be tested, according to types; taking the value of each control according to a principle that all levels of each factor are taken and assembling the related controls completely, and then combining; generating a test example according to the reference relation of the function to be tested and the example template; combining the test examples to generate all test examples of the function to be tested. With boundary value testing and equivalence testing, the method carries out strict, normative and comprehensive test point design according to the common controls in an interface test. The test designing points of each type of controls are solidified into a group of test example generating criterion for citing and expanding. The example is designed with a control relation graph and a function relation graph according to the analysis of control relativity and function relativity, so that the selection of the input value of the test example has more pertinences, thereby being capable of greatly improving the efficiency and the quality of GUI test designing.

Description

technical field [0001] The invention relates to a software test case, in particular to a method for generating a test case based on a control relationship and a function relationship in a graphical user interface GUI. Background technique [0002] (1) Software testing [0003] Software testing in a broad sense includes the testing and verification of software to meet requirements at each stage of the software life cycle, such as whether the product meets the needs of users, product performance, ease of use, etc. [0004] Software testing in a narrow sense can be summarized as a test on the model: Y=F(X1, X2, ..., Xn), where X1, X2, ..., Xn are input variables, and F is the pair of variables X1, X2, ..., a transformation of Xn, Y is the desired result. Various test case design methods are actually different designs of the function F. [0005] In software, many variables may have infinitely many values, and due to resource constraints and engineering needs, software testing...

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): G06F9/44G06F11/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