In this section:
This artifact creates two traceability widgets:
Each widget drills down into an interactive report that help you understand how well requirements are being implemented and tested. The artifact also provides a model profile and an example flow for connecting widgets and reports to JIRA. Additional configuration is required to connect to a different requirements management system.
See アーティファクトのダウンロードとインストール. Import both workflows into your service(s) in order to use both widgets.
If you are running tests with Parasoft tools, you can use the UI to configure test/requirement associations. The following SOAtest example shows an @req tag and ID being added in a test suite's Requirement and Notes section in order to correlate the test with a requirement:
To correlate a unit test with a requirement, add @req < Requirement-ID >
to a comment in the test class:
/** * @req abc */ @Test public void testSomething() { ... } |
See your testing tool documentation for additional information.
A model profile must be set up with the correct system server, type, project to ensure that report hyperlinks properly connect to your requirements management system. You can create a new model profile based on the Traceability Report model type that is provided with this artifact. See モデル プロファイルの使用 for general information about configuring model profiles.
Type | The requirement management system type (JIRA, DTP, etc.). |
---|---|
Server | The requirement management system URL. |
Project | The project for which you want to gather requirements. |
A flow must be set up with the correct server/credentials for the artifact to function properly. In order to demonstrate how to configure the flow, we will use the JIRA example. The flow specifies how to connect to JIRA, including authentication, and how to transform the response into the appropriate format. If you are working with JIRA, you can customize this flow to suit your JIRA implementation. If you are working with a different requirement management system, you can create a similar flow for that system.
By default, the flow limits the queried results to 1000 items. You can change this limit by setting The
where
The Get JIRA Story node transforms the JIRA API response into the expected format. You can customize the expected payload to suit your JIRA system details. For other systems or custom implementations, use a function node with a
|
Widget Configuration
This artifact can be used to create two widgets:
These widgets are custom implementations of the Traceability Report – Percent widget that ships with Extension Designer.
Title | Enter a new title to replace the default title that appears on the dashboard. |
---|---|
Filter | Choose Dashboard Settings to use the dashboard filter or choose a filter from the drop-down menu. |
Build | Choose the latest build or a build from the drop-down menu. |
Profile | Specify the name of the profile that you configured in Profile Configuration. |
.