Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Test modeling and test case automatic generation method based on complex system

An automatic generation, complex system technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of difficult test modeling, complex model creation, and difficult calculation of test scenarios, so as to achieve effective test modeling. Simple and intuitive, convenient timing expression effect

Active Publication Date: 2019-11-15
艾瑞克李
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the following problems exist in the existing technology: the test modeling of the behavior of the system with complex concurrency, timing, and loop is a difficult domain problem
However, when the activity diagram of the module under test is too complex, the model creation is complicated and the test scenario calculation is difficult, such as Figure 2

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 modeling and test case automatic generation method based on complex system
  • Test modeling and test case automatic generation method based on complex system
  • Test modeling and test case automatic generation method based on complex system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0057] Such as Figure 3 to Figure 17 As shown, the test modeling based on the complex system and the automatic generation method of the test case described in the present invention, the description mode of the unified modeling language activity diagram is intuitive, and the overall view can be seen quickly; the object-oriented test modeling continues to adopt a similar UML activity diagram Working interface; use object-oriented representation to describe the ...

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 relates to a test modeling and test case automatic generation method based on a complex system, and belongs to the technical field of software test automation. The test modeling and testcase automatic generation method comprises the steps: constructing activity graph nodes, constructing a SpecMap description mode, generating a CAR graph example, defining and generating test data, reconstructing a SpecMap interface, constructing script automation, connecting a test module interface and calling an interface language. According to the test modeling and test case automatic generation method, test modeling is effective, simple and visual; complex modules including time sequence, concurrency and circulation can be processed; modeling is carried out to export a correct test case; complex multi-process multi-thread and other test case expressions are intuitive and easy to understand; exported test cases are comprehensively covered; according to the automatic generation method ofthe test case, automatic scripts can be conveniently tested, and various test platforms are in butt joint; time sequence expression is convenient; test data characteristics are defined; and if the data generation may establish an algorithm, the algorithm is utilized to generate test data.

Description

technical field [0001] The invention relates to a method for automatically generating test modeling and test cases based on complex systems, and belongs to the technical field of software test automation. Background technique [0002] According to UML activity diagrams, an activity is a behavioral description of an action. The action is: (1) the name of the software function, plus the input and output of this function and related environmental factors; (2) a one-line program inside the function, similar to pseudocode; (3) the method of the module interface, and the input and output of this method and related environmental factors; envirnmental factor. In an activity diagram, nodes represent activities, and arrowed links between nodes represent directed links to activity sequences. Concurrency, judgment, and time waiting are represented by special activity nodes. The following example is from Unified Modeling (OMG ), Version 2.5.1, as in figure 1 shown. Diamonds re...

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
CPCG06F11/3684G06F11/3688
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
Eureka Blog
Learn More
PatSnap group products