This topic explains how to associate tests/code with development artifacts.
You can associate your test/code with development artifacts to help you track the quality of the application under test. Associations are established by adding Javadoc-like tags to the test code and specifying the development artifact ID. SOAtest includes several default tags, but you can create custom tags to meet your needs.
The @req and @test are special tags in SOAtest that enable traceability from the test to the artifact in your application lifecycle or requirements management system (ALM/RMS). Parasoft DTP and the Traceability Pack extension for DTP are also required. Refer to the Requirements and Defects Traceability chapter for details on leveraging traceability with Parasoft.
This chapter covers the basic process of how to apply the association tags.
The following tags are supported by default:
See Using Custom Defect/Issue Tracking Tags for details on creating your own tags.
The Requirements and Notes tab of SOAtest’s test suite configuration panel allows you to identify requirements/tasks/bugs associated with the tests in the test suite.
The requirements you define will appear in Structure reports and in DTP Report Center, allowing managers and reviewers to determine whether the specified test requirements were completed.
You can associate tests with requirements when checking your test files into your source control system. Include a tag and the artifact ID in the commit comment to associate the test files with the artifact, e.g.:
git commit -m "@pr ABC-123" |
See Reviewing and Customizing Load Test Results.
You can customize the tags your team uses to associate a test case with a work item from your ALM, defects, or requirements tracking system (e.g, codeBeamer, Jira, TeamForge, VersionOne, etc.). This allows you to configure the tag to match the language that your organization uses to refer to defects. For instance, some organizations use the term "PR" to refer to a defect. Others use "defect" and would thus prefer to use a custom @defect tag rather than the default @pr tag.
By default, @pr is used for associating tests with defects/issues, but you can specify aliases for these tags.
The tags listed here will be available in SOAtest when you configure the Requirements Tracking options in the test suite editor (when you go to Add a new requirement correlation). See Correlating SOAtest Tests for details.
If you want SOAtest reports to link to correlated artifacts, you need to specify URL templates that explain how links to these artifacts are formatted. To do this: