Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 TIBCO BusinessEvents Studio Tools Utility : Running the Tester on the Command Line : generate

generate
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:
-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 ]. I
f 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 values are [ , | ; ].
If not specified, the default column separator is comma (,).
-x
(optional). Overwrites the output directory if it already exists.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved