Typical use cases
The following are some of the typical uses cases of the TestDriver:
Manual
Complete the following steps to run the tests manually using the
TestDriver:
-
Run testdriver config --export a.xml
on the command
line.
-
Edit a.xml
file to set the required configuration.
-
Run testdriver config --import a.xml
on the command
line.
-
Run testdriver build
using the preset configuration
from the config
.
-
Check the results of the build both in the
TestDriver0_0.log
file and in the HTML page in the repository
root.
-
Run testdriver run
command.
-
Check the results of run both in the TestDriver0_0.log
and in the HTML page in the resutls root.
Automatic
Complete the following steps to run the automated tests using the
TestDriver:
-
Run testdriver config --export b.xml
.
-
Edit b.xml
file to set the configuration required.
-
Add b.xml
file to the version control system.
-
Create the scripts to import the configuration, build and run the
testdriver.
-
Place the scripts in the automated build system.
-
Analyse the results.
-
Run the automated build system.
-
Analyse the results.
Emulator
Complete the following steps to run the tests on an emulator using the
TestDriver:
-
Build the TestDriver using testdriver build -p winscw
command.
-
Run the TestDriver using testdriver run -p winscw
command.
-
Use the --commdb
switch to automatically add WinTAP to
the emulator.
Remote
Complete the following steps to run the tests remotely using the
TestDriver:
-
Configure and run a testdriver build.
-
Setup the Server.
-
Package a build.
-
Run the package on a remote system.
For more details on running the tests remotely, see
Running test remotely. For the
options to run the tests remotely, see runremote.
UCC
Complete the following steps to run the tests with Use Case Controller
(UCC):
-
Run the testdriver help config
command to investigate
the options available for the config
command. For more details,
see config
-
Run testdriver config --source c:\src -x c:\xml
command to configure the testdriver.
-
Set up the UCC.
-
Run testdriver run -f localhost:1234
command to run
with UCC.
For more information on UCC, see the guide on
UCC