Introduction

Connecting to DTP allows you to:

  • obtain the network license,
  • extend team-working capabilities, such as sharing test configurations, static analysis rules, and project settings,
  • import findings from DTP, and
  • report local analysis results to a centralized database1.

1 Reporting local analysis results to DTP requires configuring the DTP reporting settings in the .properties file; see Sending Results and Publishing Source Code to DTP.

See About the Parasoft Development Testing Workflow for additional information.

Configuring Connection to DTP Server

To connect to a DTP Server:

  1. In your IDE, click Parasoft in the menu bar and choose Options.

  2. Select DTP
  3. Check Enable and enter the DTP Server information.



    You can click Test Connection to verify the settings.

  4. In the Project area, click Configure, then select a project stored in DTP; this allows you to retrieve settings associated with this project, as well as import findings assigned to this project (as described in Importing Static Analysis Findings).



  5. Click Apply to save the settings.

Shared Resources

The Shared Resources field indicates whether or not the tool has access to resources stored in the Team Server module of DTP. Test configurations, suppressions, configuration files, and other files can be stored in Team Server and shared with team. DTP includes an instance of Team Server that stores resources for 10.x+ version of tools and an instance for legacy version of tools (9.x and older). This is to accommodate organizations with teams that may have a mix of versions. 

No additional configuration is necessary is most cases, but the field may show a red indicator if the Team Server instance for legacy tools does not contain resources. Contact your Parasoft administrator if your organization has teams using legacy versions of Parasoft tools so that he or she can configure DTP to forward resources to the legacy instance of Team Server. 


(info) DTP Server will automatically configure your license (see step 2).


About the Parasoft Development Testing Workflow

In addition to providing licensing and shared assets for testing and analyzing your software under development, Parasoft DTP collects and merges data points from Parasoft tools, third-party analysis tools, and external systems, such as bug tracking and requirements tracking systems. It aggregates and prioritizes data, as well as performs additional analysis to help you optimize development processes. Using your code analysis and test execution tool with DTP enables you to consistently apply quality practices across teams and throughout the SDLC.

The following illustration shows the general workflow.

Integrating Parasoft Tools with the Build

Parasoft tools ship with plugins for integration with your build tools (i.e., Maven, Ant, Gradle, MS Build, make, etc.). These integrations allow you to analyze code and send data to DTP automatically as part of the automated build processes and continuous integration (CI).

Capturing Observations

When the analysis tool is running, it captures massive amounts of detailed data associated with the code referred to as “observations.” Observations are code quality data, such as static analysis violations, unit test failures, metrics, etc., as well as logistical information about the code, such as authorship, scope, and source control location. 

Converting Data into Findings

When observations are sent to DTP, they are converted into “findings” and stored in the database. Findings are observations that have been analyzed, normalized, and aggregated into actionable data. 

Importing DTP Findings to the Desktop

You can import priorities and filtered findings from DTP directly into your IDE so that issues can be addressed.

Continuing the Cycle

When you check code back into source control, the continuous integration process picks up the change, and the workflow is repeated. This ensures that defects are detected and prevented from becoming software bugs later in the development process when the costs of remediation are much higher. 



  • No labels