Differences
This shows you the differences between two versions of the page.
ide_dataset [2020/05/03 16:17] admin [Create DataSet] |
ide_dataset [2021/01/05 03:00] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== IDE DataSet Editor ===== | ||
- | //IDE DataSet Editor// allows you to create and edit the //dataset// for a state or transition. | ||
- | It supports combinatorial test generation algorithms including // | ||
- | |||
- | {{ wiki: | ||
- | |||
- | ---- | ||
- | ==== Create DataSet ==== | ||
- | To create a dataset, click on " | ||
- | |||
- | New dataset created is automatically added to the dataset drop-down list for [[State Properties]] and [[Transition Properties]]. | ||
- | |||
- | Dataset is assigned to state and transition by name. If dataset is renamed after it's assigned to a state or transition, you must re-assign the dataset to those states and transitions. | ||
- | |||
- | ---- | ||
- | |||
- | ==== Define Variables ==== | ||
- | Variables are used by [[# | ||
- | |||
- | * //Variable Name// - variables must have unique names and preferably legal java variable names | ||
- | * //Data Type// - appropriate data type must be selected especially if the variables are referenced by //Derived// variables | ||
- | * //Domain Values// - a list of discrete values to be used to generate (populate) [[# | ||
- | * //Derived// - check this box to exclude the variable from participating in the data generation. | ||
- | * // | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | ====Generate DataTable==== | ||
- | Once you have the fields defined, you can generate the dataset for the fields by clicking on the // | ||
- | |||
- | |||
- | // | ||
- | * pairwise | ||
- | * 3-wise | ||
- | * 4-wise | ||
- | * 5-wise | ||
- | * 6-wise | ||
- | * | ||
- | You can remove unwanted rows by clicking on {{http:// | ||
- | |||
- | If you have verification field(s), they will be left blank. You can enter the appropriate values for each row. The results will be saved if // | ||
- | |||
- | During the model execution, the dataset will be loaded and traversed. Besides the option to traverse the datatable sequentially or randomly as described above, you can also control the sequence of which row to be used first programmatically in mScript by setting the user variable //dataset name//_idx. | ||
- | |||
- | ---- | ||
- | ==== Usage ==== | ||
- | Dataset can be assigned to a state or transition and datasets are automatically used during test generation to ensure transitions are traversed enough times to go through all rows in the dataset. | ||
- | |||
- | The rows in the dataset are retrieved and used as the states and transitions are traversed. | ||
- | |||
- | ---- |