The harness enables test suites to provide users with the capability of creating and editing templates that can be used to run tests on multiple test systems or test platforms with minimal changes.
Your test suite might not enable creating or editing templates.
For example, if your test suite enables creating and editing templates and your test group uses a central location to provide and manage the resources required to run tests (the test suite, report directories, configuration files, or the harness), you can create a template that contains all known configuration values required by the test group to run tests. Each user can load the template from the central site, provide only those values unique to their test environment or test run, and run their tests using their completed configuration.
See Creating a Template for a detailed description of the process used to create a template.
See Editing a Template for a detailed description of the process used to change the contents of a template.
In addition to providing users with partially completed configurations, templates can further simplify the process of creating and maintaining configurations through the use of the following features:
An optional feature of templates is the ability to propagate (inherit) template updates to all configurations based on that template. When the test suite developer enables template propagation, the harness checks for template updates when a user does any of the following:
For a configuration to receive template updates, the test suite developer must enable propagation in both the configuration and its template.
Copyright © 2004, 2009, Oracle and/or its affiliates. All rights reserved.