background image
<< Script Segments | Testing Software with TestFactory >>
<< Script Segments | Testing Software with TestFactory >>

Code Coverage and UI Coverage

Key TestFactory Concepts
Code Coverage and UI Coverage
TestFactory calculates code coverage and UI coverage metrics for the best script,
defect scripts, and Robot scripts that you run against an instrumented AUT. The
coverage values indicate how well a script exercises the AUT and help you determine
which features to test next. Code coverage is an indirect indicator of the quality of
the generated scripts. A Pilot calculates code coverage as it creates and runs new
script segments. At the same time, it identifies and discards redundant script
segments that do not increase code coverage. For information about
instrumentation, see Chapter 3, Instrumenting the Application-Under-Test.
Test Suites
A Test Suite is a container object that you can insert in the application map to group
scripts and other Test Suites to run as a batch job. A Test Suite is also a convenient
tool for organizing and tracking scripts. For information about creating and running
a Test Suite, see Chapter 6, Developing and Running a Test Suite.
The AutoPilot
The AutoPilot is the TestFactory tool that automatically runs multiple Pilots,
Test Suites, and scripts as a batch job. You can use the AutoPilot to run batch tests
on your local machine. For information about using the AutoPilot, see Chapter 7,
Using the AutoPilot.
The Test Datastore
All TestFactory project data is contained in the test datastore--which stores
application testing information. After you create a new project in the Rational
Administrator, you can see and access the project from all TestStudio programs.
For information about working with projects and the test datastore, see the Using
the Rational Administrator