Once you have created a test suite hierarchy, defined it using XML files and built your tests into a repository, you have
the option of creating a test package. A test package combines the XML structure and the data in the built repository into
one file, .tpkg
.
This means that everything needed for running a test is stored in this package file, enabling you to run the test independently.
This feature is also useful for distributing your built tests to others, so they can run them straightaway, without having to build them first.
The built package file is stored under the specified test suite folder in your repository, using the same name as the test
suite + the extension .tpkg
, i.e. testsuite1.tpkg
.
The command line syntax for building a test package is similar to that of building test suites. However, instead of using
the build command, a command called package
is used, as shown below:
> testdriver package -p <platform> -b <build> -s suite [-a architecture] [--tp <package>]
The following commands and options are used.
|