background image
<< Software Configuration Management | Setting Up Test Script Version Control >>
<< Software Configuration Management | Setting Up Test Script Version Control >>

Test Script Version Control

66
Chapter 2 - Planning Tests
Test Script Version Control
For test scripts not stored in the Rational Test datastore, use test script version control
if you have the following:
s
File-based test scripts not stored in the Rational Test Datastore file-based test
script is created with a test tool, IDE, or editor that provides a command line
interface for creating and editing the test script, and can be opened with the
standard File Open dialog box. If a test script is stored in the Rational Test
datastore,
(Rational Test Datastore)
appears next to the test script source in the Test
Scripts window.
s
A software configuration management system You can use either Rational
ClearCase LT, which comes with Rational Suite, or another software configuration
management system that supports the Microsoft Common Source Code Control
(SCC) Integration Specification.
s
A Test Script Console Adapter (TSCA) that supports versioning for the test script
type that you want to version. The TSCAs that come with TestManager support
version control for file-based test scripts. For information about writing a custom
TSCA to support versioning, see the
Rational TestManager Extensibility Reference
.
Setting Up Test Script Version Control
To set up test script version control and integrate source control management with
TestManager:
s
Install and configure your source configuration management system. For
information about installing and configuring Rational ClearCase LT, see the
Rational Administrator Help.
s
In TestManager, define any new test script types that you create. For information,
see Defining a New Test Script Type on page 84.
s
Register all test script sources and enable version control for each source. For
information, see the registering: new test script source in the Rational TestManager
Help Index.
Adding Test Scripts to Version Control
You can add file-based test scripts not stored in the Rational Test Datastore to version
control, check out test scripts, check in test scripts, and undo checkouts from the Test
Scripts window of TestManager.
When you check out a test script, a check mark appears on the test script icon in the
Test Scripts window.