Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ide_dataset [2020/05/03 16:27]
admin [Generate DataTable]
ide_dataset [2021/01/05 03:00] (current)
Line 1: Line 1:
 ===== IDE DataSet Editor ===== ===== IDE DataSet Editor =====
-//IDE DataSet Editor// allows you to create and edit the //dataset// for a state or transition.  The //dataset// can then be used in //TRIGGER Script// to perform //Data-Driven Testing (DDT)//+//IDE DataSet Editor// allows you to create and edit the //dataset// for a state or transition.  The //dataset// can then be used in //TRIGGER Script// to perform //Data-Driven Testing (DDT)// and [[Combinatorial Algorithms| Combinatorial Testing]].
  
 It supports combinatorial test generation algorithms including //Pairwise// algorithm. For more advanced data generation. It supports combinatorial test generation algorithms including //Pairwise// algorithm. For more advanced data generation.
  
-{{ wiki:idescreen:ide_dataset.png }}+{{wiki:idescreen:ide_dataset.png}}
  
 ---- ----
Line 10: Line 10:
 To create a dataset, click on "+" mini-button. The dataset is created with a default name, proceed to rename the dataset. To create a dataset, click on "+" mini-button. The dataset is created with a default name, proceed to rename the dataset.
  
-New dataset created is automatically added to the dataset drop-down list for [[State Properties]] and [[Transition Properties]].+New dataset created is automatically added to the dataset drop-down list for {{wiki:idescreen:ide_model_stateprop.png?linkonly | State Properties}} and {{wiki:idescreen:ide_model_transprop.png?linkonly | 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. 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.
Line 17: Line 17:
  
 ==== Define Variables ==== ==== Define Variables ====
-Variables are used by [[#Combinatorial Algorithm]] to [[#Generate DataTable]].+Variables are used by {{https://csrc.nist.gov/projects/automated-combinatorial-testing-for-software | Combinatorial Algorithm}} to [[#Generate DataTable]].
  
   * //Variable Name// - variables must have unique names and preferably legal java variable names   * //Variable Name// - variables must have unique names and preferably legal java variable names
Line 47: Line 47:
 ---- ----
 ==== Usage ==== ==== 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. +Dataset can be assigned to a state or transition. They are automatically incorporated into the test sequence 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.  You can access the data fields on the current row with //$SYS.getData('fieldName')// in any of the state and transition //TRIGGER//+The rows in the dataset are retrieved and used as the states and transitions are traversed.  You can access the data fields on the current row in any of the state and transition //TRIGGER// 
 +   $SYS.getData('fieldName') 
 + 
 +To access the dataset outside the state/transition that dataset was assigned, use the following syntax instead: 
 +   $SYS.getDataSet('myDataSet').getData('fieldName'
 +    
 +     
  
-----