Generating test data

  1. Open the type tree and right-click on an item or group.
  2. Click Generate Sample Data.
  3. Change the sample data options, or accept the defaults. Optionally, you can set defaults for these options in Window > Preferences > Transformation Extender > Type Tree > Sample Data.
    Create optional types
    When this option is not selected, a type with the size Min=0 and Max=1 generates a map rule of None.
    Fill types with data
    When this option is not selected, all types generate a map rule of None.
Type Designer generates the following files in the SampleData folder relative to the source type tree:
  • A source map named selected_type_name.mms
  • A compiled map named selected_type_name.mmc
  • A source map named Validation_selected_type_name.mms
  • A compiled map named Validation_selected_type_name.mmc
  • A log file of the generation session named SampleDataGenerator.log
  • A test data file named selected_type_name.txt