Running the Tester on the Command Line
Running the Tester on the command line allows you to create test data templates, populate the test data files, and run tests.
To run the Tester on the command line, follow these steps:
- Procedure
- Run the command
-tester generate
This generates the test data template files, which are used for concepts, scorecard, and events for a given project directory.
The test data template files are either in XLS or CSV format, as desired by the user, and are used to enter the test data. They will have a project name, element relative path, external ID, column names, and so on.
Note: Blank columns should be filled with NA.To generate a file in a specific format, see Command Line Options .
- Enter the data manually in the generated template files.
- Run the command
-tester import
This will import the data entered into test data files
*.concepttestdata
and
*.eventtestdata
.These files are similar to the files saved by the Studio Tester when selecting Create Test Data.
- Run the command
-tester assert
This will start an instance of the TIBCO BusinessEvents engine and assert the test data generated in step 2 to the instance.
After the assertion, the result data files will be saved in an output directory that has to be provided in the user command line options, and in one of these two formats:
The
-tester
operation provides for the following commands: