The Generate Command

The command generate reads concepts, scorecards and events from a project and creates test data template files in comma-separated format. The output files can be edited by the user to add test data and then can be used as an input for the import command to import the test data.

Syntax

studio-tools -tester generate [-h] [-x] -p <projectDir [-t < xls | csv] [-s <separator] [-o <outputDirectory]

Options

The following options are used with the command generate.

Option Description
-h Optional. Prints usage help
-o Optional. Specifies the output directory. If not specified, the output directory will be ProjectDirectory/TestDataTemplates.
-p Required. Specifies the project path.
-t Optional. Specifies the output file type. Supported values are [ xls | csv ]. If this option is not specified, the output will be in CSV format with a comma (,) as a column separator.
-s Optional. Used only when the output file type is CSV to specify a column separator. The supported value is [,].

If not specified, the default column separator is comma (,).

-x Optional. Overwrites the output directory if it already exists.