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

Tree-based black-box test case generation method and system

A technology of black-box testing and test cases, applied in the field of tree-based black-box test case generation method and its system, to achieve rapid positioning and high coverage

Inactive Publication Date: 2016-09-07
NUBIA TECHNOLOGY CO LTD
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The main purpose of the present invention is to propose a tree-based black-box test case generation method and system thereof, aiming to solve how to automatically generate black-box test cases to quickly find out system defects

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
  • Tree-based black-box test case generation method and system
  • Tree-based black-box test case generation method and system
  • Tree-based black-box test case generation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0041] A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, "module" and "component" may be used mixedly.

[0042] Such as figure 1 As shown, the first embodiment of the present invention proposes a tree-based method for generating black-box test cases, including steps: S1, obtaining n interface parameters and their corresponding values; S2, combining the n interface parameters and Its value is constructed into an inverted tree structure; each layer of the tree structure represents the value of an interface parameter...

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 tree-based black-box test case generation method and system. The method comprises the steps of S1, obtaining n interface parameters and corresponding parameter values; S2, constructing an inverted tree structure by the n interface parameters and the parameter values, wherein each layer of the tree structure represents the value of one interface parameter, and a first-layer node is a node with a maximum number of the values of the n interface parameters; S3, classifying and numbering the values of the interface parameters of all layers; and S4, moving downwards along a branch from a node of the first layer until a leaf node of the whole tree is reached, so that a path is formed, wherein a node number sequence on the path represents a test case, and data types in formed test cases are inconsistent. According to the method and system, the black-box test case coverage rate of an algorithm capable of quickly searching for effective cases is higher and system defects can be located more quickly.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a tree-based method for generating black-box test cases and a system thereof. Background technique [0002] Software testing is an important means to ensure software quality, especially automated testing can improve testing efficiency and reduce costs. The automatic acquisition of test cases, especially the automatic generation of black-box test cases is the key and difficult point of software testing. Many researchers have done a lot of research on this over the years. However, at present, the generation of test cases is mainly done by hand, and software testers are required to have a certain regularity and a high professional level. Therefore, the testing process often has a lot of blindness, indicating that the testing efficiency is low, the software cost remains high, and the software quality is difficult to guarantee. For this reason, it is necessary to study the automatic...

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
Inventor 徐龙
Owner NUBIA TECHNOLOGY 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