Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Building the test packages

Once you have created a test hierarchy, defined it using the XML files and built your tests into a repository, you have the option to create a test package. A test package is a zip file that combines the XML structure and the data in the built repository into one file, .tpkg.

This means that all items that are needed to run a test are stored in this package file, enabling you to run the test independently. This feature useful when distributing the built tests and that they can be run straightaway, without having to build them again.

The built package file is stored under the specified test folder in your repository, using the same name as the test suite + the extension .tpkg, for example, test1.tpkg.


Command line syntax

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 test [--tp <package>]

For more build options, see package command.


Example

The command line to build the Test4 is:

> testdriver package -p arm4 -b urel -s test1.test4 --tp  

This would build contents of Test4, for ARM4 UREL, and the name of the test package that is created would be test4.tpkg, located in the test repository.

[Top]


See also