Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:comb_data_modeling [2020/06/11 03:24] admin [What is Combinatorial Model?] |
tutorial:comb_data_modeling [2020/06/12 01:58] admin [Generate Test Cases] |
||
---|---|---|---|
Line 3: | Line 3: | ||
Learning Objectives: | Learning Objectives: | ||
* [[#What is Combinatorial Model?]] | * [[#What is Combinatorial Model?]] | ||
- | * [[#Build Model]] | + | * [[#Create |
* [[#Generate Test Cases]] | * [[#Generate Test Cases]] | ||
* [[#Make Changes]] | * [[#Make Changes]] | ||
Line 24: | Line 24: | ||
- | ===== Build Model ===== | + | ===== Create |
+ | To create a combinatorial model, clicki on {{wiki: | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | The //Menu File List// opens: | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | By default it opens at the root folder // | ||
+ | |||
+ | Enter the model name at the New Model prompt: | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | The new model is open in //DEFINE// tab like this: | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | |||
+ | The first step is to define all of the variables and set the domain values for each variable. This is done in //DEFINE// tab: | ||
+ | - click on {{wiki: | ||
+ | - select the appropriate data type: int, float, txt or bool | ||
+ | - enter domain values one value on each line | ||
+ | |||
+ | You should have something like this: | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | Go ahead and create two more variables and we have the model built: | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | You can also add constraints to remove certain permutations that are illegal, invalid or unwanted for any reason. | ||
+ | |||
+ | Save the changes and we are ready to generates the test cases from this model. | ||
+ | |||
===== Generate Test Cases ===== | ===== Generate Test Cases ===== | ||
+ | Test generation from combinatorial model is done in [[../ | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | To generate the test cases, | ||
+ | * select an algorithm {{wiki: | ||
+ | |||
+ | * click on ▶ next to the algorithm dropdown | ||
+ | |||
+ | |||
+ | |||