Running tests
Tests can be run either on the emulator or on a device, from a PC. To run
the tests on the emulator, run the following command from
\epoc32\release\WINSCW\udeb\
location:
ced -I c:\wintap.xml
This command updates the WinTap configuration settings in the
comms-infras. It also enables you to use WinTap for connecting the TestDriver
to the emulator and proceed with execution of the tests on emulator.
For more details, refer to the Symbian OS Library section,
Symbian OS Tools And Utilities >> Emulator >> Emulator
guide >> Comms database configuration tools >> Configuring comms
database using CED and CEDDUMP
When tests are run, tests and their dependencies are copied to the
C:
drive of the device (or emulator).
When you run tests, the 'testdriver run
' command uses the
XML tree as input and walks through it. For details, see
Building tests. Tests are then
executed on the device, logs are collected and transferred back to the PC.
Command line syntax
The syntax for running a driver file is:
> testdriver run -p <platform> -b <build> -s <test> [-t transport] [-l rdebug|console]
For more options, see run command
options.
Note: When you run a test the STAT tool is directed to
transfer the SIS files stored in the
repository to the device.