Anchor | ||||
---|---|---|---|---|
|
...
- Static Analysis and Metrics results (including suppression details)
- Unit Testing results (including traceability information)
- Line Coverage
DTP operates independently of Parasoft Concerto Report Center and must be configured separately.
To connect Parasoft C++test to a Parasoft DTP server:
- Choose Parasoft> Preferences... > Development Testing PlatformDTP.
Check Enable and enter the DTP server information:
You can click Test Connection to verify the settings.In the Project area, specify enter the name of a project stored in DTP that you are currently working on. You can click the Configure button to open a dialog with all projects that are available in DTP.
The active license is displayed in the License area. Depending on the license type, the license may be automatically configured when the connection to DTP is established. Click the Configure link to manually configure your license options if applicable.
In the Reports area, check Enable reporting results to DTP to enable sending static analysis findings, unit test results and coverage information to DTP.
(Optional) In the Advanced settings area, you can set additional propertiesTo publish reports to DTP, a valid license with one of the following options is required: DTP Publish or Automaton.
You can click the Edit link to configure advanced report settings(key=value)
:- Click Apply to save the settings.
You can configure the connection to DTP server in the command line mode. Use the -localsettings
option to provide a path to a custom .properties file with DTP configuration settings:
Code Block |
---|
cpptestcli -localsettings [PATH_TO_FILE] |
The following settings are required to configure the connection:
dtp.enabled=true
- Enables connection to DTP serverdtp.server=[LOCALHOST]
- Specifies the host name of the DTP serverdtp.port=[PORT]
- Specifies the port number of the DTP server. Commonly used port numbers are 443 and 8443.dtp.user=[USERNAME]
- Specifies the username for DTP server authentication.dtp.password=[PASSWORD]
- Specifies the password for DTP server authentication.report.dtp.publish=true
- Enables reporting results to DTP server.
Optional settings:
dtp.project=[DTP Project Name]
- Specifies the name of the DTP project.build.id=[Build Identifier]
- Specifies a build identifier used to label results.session.tag=[Session Tag]
- Specifies a tag for signing result from the test session.dtp.additional.settings=[KEY1\=VALUE1\nKEY2\=VALUE2...]
- Specifies advanced settings for reporting results to DTP.