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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 