Unlock instant, AI-driven research and patent intelligence for your innovation.

Cloud Computing Software Testing Method Based on Finite State Machine

A software testing method and finite state machine technology, applied in software testing/debugging, calculation, error detection/correction, etc., to achieve strict guarantee, avoid omission and negligence, and achieve simple effects

Inactive Publication Date: 2015-12-09
OPZOON TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, each test case is usually aimed at a single business logic and verifies a single-step data state transition, while a cloud computing-based information management system often has thousands of business logic and state transitions that need to be verified. It is also a difficult task to test the logic of the test, avoid omissions, and ensure the effectiveness and coverage of the test.

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
  • Cloud Computing Software Testing Method Based on Finite State Machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Such as figure 1 As shown, the present invention provides a cloud computing software testing method based on a finite state machine, which includes the following steps:

[0028] S1. In the cloud computing system, describe all instantaneous states of its domain objects as a finite state machine model, and initialize the initial state of the finite state machine;

[0029] S2. According to the operations allowed by each state of the finite state machine, the automated test tool creates its corresponding logic branches respectively;

[0030] S3. According to the sequence of each state transition of the finite state machine, the automated test tool traverses and executes multiple logic branches, and tests the multiple logic branches respectively.

[0031] Preferably, the step S1 further includes:

[0032] Each state of the finite state machine includes an attribute to indicate the operations allowed by the state, and different states of the finite state machine allow different operat...

Embodiment 2

[0043] This embodiment takes a simple cloud computing system for virtual machine management as an example. It mainly includes domain objects such as users, virtual machine management platforms, virtual machine pools, and virtual machines. All types of objects have multiple states, each There are multiple interrelationships between class objects; the present invention regards all domain objects as an organically integrated whole, and describes each of its instantaneous states as the state of a finite state machine. This state has an attribute that indicates the operations that the state allows to accept; in different states of this finite state machine, the allowed operations are different.

[0044] The automated test tool implemented based on the present invention will automatically initialize the initial state of the finite state machine when the test starts. In the initial state, there is only one user object used as the default administrator in the system, and no other objects...

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

Provided is a cloud computing software test method based on a finite-state machine, comprising the following steps: S1. in a cloud computing system, describing all transient states of domain objects thereof as a model of a finite-state machine, and initializing an initial state of the finite-state machine; S2. according to allowed operations of each state of the finite-state machine, automation test tools respectively creating logic branches corresponding thereto; and S3. according to a transfer order of various states of the finite-state machine, the automation test tools traversing and executing the plurality of logic branches and respectively testing the plurality of logic branches. According to the present invention, the states of a large number of dispersed domain objects relating to the cloud computing system is concentrated in a whole through the finite-state machine, and possible transient states in the cloud computing system are automatically traversed according to service rules, and thus the test coverage rate is guaranteed, the omission and negligence of key services are avoided, and the quality of the cloud computing system is guaranteed.

Description

Technical field [0001] The invention relates to the field of software testing, in particular to a cloud computing software testing method based on a finite state machine. Background technique [0002] With the development of technology and informatization, the deployment rate and utilization rate of cloud computing-based information management systems in enterprises, agencies and other units continue to increase. How to meet the needs of enterprises, agencies and other units under the premise of ensuring efficiency and quality The cloud computing management system for business needs in related specific fields has become a necessary capability for related software development units. [0003] The main problem facing the development of an information management system based on cloud computing is to maintain the state and relationship of a large number of cloud computing data in a specific field, and to provide users with a way to jump between states. For example, a virtual machine st...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3676
Inventor 莫日根
Owner OPZOON TECH