When the Rational console appears, click the
icon on the console.
File > New Project
For more details, see the
Rational Suite Administrator's Guide
QualityArchitect uses templates to provide structure and common code to generated
scripts and stubs. Templates are simply ASCII text files with replacement variables.
The code generators supplied with QualityArchitect replace the variables in the
templates with real code derived from Rose model elements.
All of the Rational templates can be customized. To create your own template, simply
copy one of the supplied templates and edit it as needed. For example, to provide
more logging information in your scripts, copy one of the supplied templates, add
logging code, and generate tests with the new template.
Templates also provide a means for supporting additional environments, such as
application servers. Generally, to add support for a new environment, you adjust a
standard template, primarily in the initialization code, and then generate your test
scripts using the new templates.
Rational has included several templates for your use. These templates can be logically
grouped into the following general categories:
Templates for unit test generation
Templates for scenario test generation
Templates for stub generation
Template for the EJB Session Recorder
Within each general category there are several templates for the various component
models. You can browse through the
view the list of templates that are installed.
Click to open the Administrator.