Test Data Specification
    • Dark
      Light

    Test Data Specification

    • Dark
      Light

    Article Summary

    3.1 Defining Test Data at a Model Level

    In this Test Modeller 101 Tutorial on defining test data at the model level, there’s a 3-minute high level overview ahead of a 3-minute practice. This involves creating Variables, assigning Static data and switching those to Dynamic data functions before previewing the outcome as tabulated test data. 

    All this is generated through overlaying test data Variables on a Model (a flow). In the practice, we build out a model using task blocks, on which the test data gets overlaid. 

    The benefit of using a test data variable in Test Modeller is that you can store values, defined as dates, numbers, names and which can be altered at different points within a model specific to any of your use cases. 

    You’ll see use of the Test Data & Automation tab in Test Modeller for defining and then assigning dynamic test data Variables. Good practice is that you can set parameters through the Data Painter, which helps visualise Dynamic data quickly and concatenate through hard coding.


    3.1 Synthetic Test Data Functions in Test Modeller

    In this Test Modeller 101 Tutorial, you'll use Synthetic Data Functions to create bespoke Variables which align with any of your use cases. 

    You’ll see use of Test Modellers data editor, which opens a library of data generation functions, used in the example to set up sequential and randomised usernames in the syntax =DataGen.Name.FirstName()& ”.” &DataGen.Name.LastName() for which the outcome is tabulated test data. 

    Data editor UI panel in Test Modeller includes a Preview button to verify Synthetic data functions correctly generate.

    Check out the complete list of data generation functions here: Data Generation Function List


    3.3 Using Data Lists in a Model

    In this Test Modeller 101 Tutorial, you'll specifically filter rows of data to decide which mapped variables get returned. 

    You’ll see use of Test Data Actions tab, and in this example we map all from the file. This expedites modelling out the values from the Data list for generating test cases which can then easily be previewed, updated and exported.