Supercharge Your Innovation With Domain-Expert AI Agents!

Object-oriented modeling method for software behavior model

An object-oriented, modeling method technology, applied in software testing/debugging, instrumentation, electrical digital data processing, etc., can solve problems such as difficult maintenance, complex and difficult modeling methods, etc., achieve less personnel expenditure, solve modeling difficulties, The effect of strong ability to avoid risks

Inactive Publication Date: 2017-08-18
艾瑞克李
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides an object-oriented modeling method of a software behavior model for solving existing problems, and solves the problems of complex and difficult and difficult maintenance of the existing software behavior modeling method. Generate, which can increase productivity, accelerate software testing speed and reduce software testing cost

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
  • Object-oriented modeling method for software behavior model
  • Object-oriented modeling method for software behavior model
  • Object-oriented modeling method for software behavior model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] Such as figure 1 with figure 2 Shown, the present invention is realized through the following technical solutions:

[0033] Step 1: Collect software interfaces to be tested;

[0034] Step 2: Use ordinary language or formal language to determine the appropriate object-oriented description level of abstraction for the interface;

[0035] Step 3: Name the object under test of the interface;

[0036] Step 4: Name the related variables (object attribute variables and other related variables) of the object to be tested;

[0037] Step 5: According to the software design and requirements, divide the values ​​of variables into equivalence classes;

[0038] Step 6: Name the object’s action to be tested;

[0039] Step 7: Decompose the action details into a "condition-action-result" set, each condition and result is a logical expression composed of variables and their equivalent classes;

[0040] Step 8: Connect the elements in the "condition-action-result" set according to ...

Embodiment 2

[0043] Such as image 3 As shown, we can simplify the condition and result logic expressions in the action description to meet the requirement of simply describing the condition and result:

[0044] Step 1: Collect software interfaces to be tested;

[0045] Step 2: Use ordinary language or formal language to determine the appropriate object-oriented description level of abstraction for the interface;

[0046] Step 3: Name the object under test of the interface;

[0047] Step 4: Name the variables (object attribute variables and other related variables) of the object to be tested;

[0048] Step 5: According to the software design and requirements, divide the values ​​of variables into equivalence classes;

[0049] Step 6: Name the object’s action to be tested;

[0050] Step 7: Divide the variables that affect the action according to the usage, and decompose the action details into a "condition-action-result" set. Each condition and result is a list of variables and their eq...

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 an object-oriented modeling method for a software behavior model. The method comprises the following steps of collecting a to-be-tested interface of software; determining a proper object description-oriented abstract level for the interface by using a daily language or a formalized language; naming a to-be-tested object of the interface; naming variables of the to-be-tested object; performing equivalence partitioning on the values of the variables according to software design and demands; naming a to-be-tested action of the object; partitioning variables influencing the action according to usage conditions, and decomposing action details into a "condition-action-result" set; according to the usage conditions of the software design, connecting elements in the "condition-action-result" set to form a graph; and according to a test purpose, selecting a path algorithm in a graph theory, and adding test data, so that a software test case set can be generated. According to the method, software behavior modeling is modularized, so that the maintenance and updating costs are low, the personnel expense is low, and the risk avoidance capability is good; and the method can be widely applied to the inspection and detection scenes of computer software.

Description

technical field [0001] The invention relates to an object-oriented modeling method for a software behavior model, and belongs to the technical field of computer software inspection and detection. Background technique [0002] Model-based software testing (MBT) is a testing method in the field of software testing. The current popular method is to describe the behavior of the software with the state diagram and activity diagram of the unified modeling language, and then generate it from the built diagram through the algorithm. A collection of software test cases. [0003] The reason why the industry places hope on MBT is that the model can make software testing more rigorous, test cases easier to maintain, and easier to automate. Due to the different characteristics of the software under test, the purpose of the test is not the same, so there are many types of test models. However, there are currently two obstacles affecting the large-scale use of MBT: 1) the complexity of m...

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/3684
Inventor 艾瑞克·李
Owner 艾瑞克李
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More