Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
modeling_with_testoptimal [2020/05/10 02:29] admin removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Creating MBT Model ===== | ||
- | Creating an MBT model with TestOptimal is quite straight forward. There are several ways to do this: | ||
- | |||
- | - create withTestOptimal IDE | ||
- | - import model from external tools | ||
- | |||
- | To create a model with // | ||
- | |||
- | The first step to build the MBT model is to determine what states you need to describe AUT. Each state must have a unique identifier and a brief description. | ||
- | |||
- | You create the state by right mouse click on " | ||
- | |||
- | Usually you will just create all of the states at once, but you can certainly add more states later on. | ||
- | |||
- | The next step is identify for each state what transitions you need to connect current state to other states. Again each transition requires a unique identifier within the state. | ||
- | |||
- | To create a transition, select a state, right mouse click on the selected state and select "Add Transition" | ||
- | |||
- | Usually you will create all transitions to connect one state to all other states and do this for all states. | ||
- | |||
- | At this point you have the model completed in the memory. The " | ||
- | |||
- | You may view the model in graph by clicking on {{http:// | ||
- | |||
- | ==== Importing Model==== | ||
- | You may import models created with external tools using the " | ||
- | |||
- | To import a model, you must create a new empty model (without states/ | ||
- | |||
- | You may merge the import model with an existing model. To do this, just open the existing model and then follow the import process described above. The system should report a list of changes as the result of the merge. |