About Test Specifications

A test specification defines the overall process and strategy for testing a system (including the scope of the test effort) and provides a record of the test planning process.

For example, you could create a test specification for the design of an excavator to assure that you satisfy the structural requirements.

A test specification identifies the test requirements and test environments. It also identifies the test cases, test schedules, business and quality objectives, and risks.

This page discusses:

See Also
Creating Test Specifications
Linking and Unlinking Test Specifications
In Other Guides
Baseline Content Categories

You can copy a test specification to create a duplicate with identical attributes. This is helpful when you want to run similar tests with some of the same test cases and some different test cases from the original.

Linking Test Specifications

You can link test specifications to other test objects in the following ways:

  • A test specification can link to one or more requirement specifications. Test cases created later can then validate the linked requirements.
  • A test specification can link to a project. In that scenario, the test execution objects that belong to the test specification become tasks of the project. Otherwise, the test execution objects are collaborative tasks.
  • A test specification can link to an engineering item to define the test context. The engineering item is often a physical product; for example, the arm or bucket assembly of an excavator. You might want to extract the maximum stress values from a specific part of the assembly and compare the values to those stated in the requirements specification.
  • A test specification can link to the test means. The test means is any asset used to replicate an environment, hold a prototype in position, or record results. Most often, the test means falls into the category of the lab equipment used for testing, such as a test bench or harness. However, the test means can take any of the following forms:
    • model version
    • physical product
    • logical reference
    • logical feature
    • functional reference
    • simulation object
  • A test specification can link to attachments and deliverables. Attachments and deliverables are any platform objects that serve as supporting documentation. It is often helpful to attach supporting documentation to test objects that might need to circulate for review outside the platform to other users. For example, you might need formal approval by users outside the platform when transitioning from a legacy file-based system.

You can also link a test specification to another test specification. Linked test specifications do not represent a hierarchy; the links are visual groupings only and do not determine a prerequisite or dependent status.

In addition, you can revise a test specification to create a newer version for testing. Revising a test specification retains:

  • All test cases, test executions, and test results are linked to the original test specification.
  • All links to engineering items, requirement specifications, chapters, and projects.
  • All prerequisite dependencies of the original test specification.

Duplicating Test Specifications

You can duplicate an existing test specification to create a copy with identical attributes. These attributes contain the same linked test management objects. For example, when you duplicate a test specification, Validation and Verification Strategy copies all the attached test cases to the duplicate test specification.

When you duplicate a test specification, you can select from basic or advanced options. Advanced options allow you to rapidly filter long lists of test cases and test executions and to consider each one for duplication, reuse, or exclusion.

When you duplicate a test specification, you can choose to include structural objects (include all test objects up to the test execution level). However, in this case, test results are not duplicated. The following table lists the status of test object types when you duplicate a test specification with and without the structural objects option enabled.

When you duplicate a test specification, not all attributes are copied. Most definition-type attributes and links are copied or referenced, for example, Items Under Test or Test Means. However, no outcome- or result-related attributes and links are copied or referenced.

In some instances, these objects are reset rather than copied:

  • Assignee: for test executions.
  • Conclusion: for test executions and test results.
  • Deliverables: for test specifications, test cases, and test executions.
  • Issues: for test executions and test results.
  • Status: for test executions and test results.
  • Test Result Data: for test results.
  • Test Step (Results): for test results.

Revising Test Specifications

You can revise or revise and replace multiple test cases or multiple test specifications at once. In the figure below, you have multiselected Flight Simulation Test Spec 01 and TS-765. The toolbar changes to include only allowable actions; in this case, you can change the maturity state, revise, or delete the multiselected test cases.

In the following figure, Flight Simulation Test Spec 01 and TS-765 are at revision 1 in the tree; however, the Revise icon indicates that a higher revision exists (resulting from your Revise action). If instead, you revised and replaced, the Revise icon would be absent and the revision label would show as 2 in the column.

You can also replace a linked test specification with the latest version with a single command.

Note: You cannot revise test specifications when they are attached to configuration contexts. The app does not copy the configuration context and effectivities settings to the duplicated object.

Comparing Test Specifications

You can use the Compare app to compare the contents of two test specifications in a dedicated comparison window. This is particularly useful when comparing two revisions of a test specification to identify differences in content, maturity state, and attached test objects. For more information, see Social and Collaborative | Structured Collaboration & Collaborative Content | Compare | Compare | Comparing the Structure of Objects and Social and Collaborative | Structured Collaboration & Collaborative Content | Compare | Compare | Comparing the Properties, Classification, and Effectivities of Objects.

Configuration Contexts and Test Specifications

You can attach one or more models to the test specification as the configuration context as shown in the following animation:

Test Specifications and Responsibilities

Test specifications (and all test objects) belong to specific content categories. The category of content, along with your responsibility, determines what actions you can take on the various types of content.

To create test specifications, you must have the Author responsibility (at a minimum). To release test specifications, you must have the Leader responsibility.