Output Formatters

To enforce reusability of your test data assets, GEDIS Studio distinguishes the design of the generators and the production of datasets from those generators. Production of datasets is controlled with Output Formatters.

What are Output Formatters ?

The output formatters are used to configure the production of datasets by selecting the generators and the fields to assemble and by formating their values into dataset files.

Output formatters can produce regular CSV files based on all or a subset of the generated fields. They can also mix in a same file the records produced by different generators allowing variable length records in the same dataset.

Output formatters can arrange fields in a different way they are arranged in their generators; they can also format each value of each field separately to do alignements, trimering, or to surround values with quotes.

How to Configure Output Formatters ?


Generators and Record Formatters

First select the generators that will provide the values to be assembled in the dataset. To do so, add a new row in the grid of the generators pane. The created row will have a default generator (selected as the first unused generators from the available generators in your project) and a default CSV formatter.

You can change both the selected generator and its formatter by double clicking on the row in the grid. For each parameter, a combo box is provided with all the available options. For the generator, the combo will provide all the generators available in your current project. For the formatter, a Template based formatter and a CSV formatter are proposed.

Text Encoding

Then you can select the encoding of the text (UTF-8 is the basic encoding, but you can choose another).

Header and Footer

It is also possible to include a header at the beginning of the generated dataset file and a footer at the bottom. The content of the header and footer may contain references to some of the parameters of the dataset production such as the number of generated records, the timestamp of generation, etc.

Add comment

Security code