The Import Command
The command
import
reads the CSV data files and converts them to the appropriate test data format (such as .concepttestdata
,
.eventtestdata
).
Syntax
studio-tools -tester import [-h] [-x] -i <inputFile -p <projectDirectory[-o <outputDirectory] [-t < xls | xlsx | csv] [-s <separator]
Options
The following options are used with the command
import
:
Option | Description |
---|---|
-i | (required). Sets the input path, which is a path to a directory containing test data template files, a single test data template file, or a path to
Listfile containing paths of files that must be included for test data generation.
|
-h | (optional). Prints usage help. |
-o | (optional). Specifies the output path. |
-p | (required). Specifies the project path. |
-t | (optional). Specifies the output file type. Supported values are
xls , xlsx , and 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 values are
[,] .
If not specified, the default column separator is comma (,). |
-a | (optional). Appends test data to existing test data with the same name (if present). |
-x | (optional). Removes the
TestData root from under the output directory. If it already exists it creates a new one.
|