DTP can access and display source code in an explorer view by:

  • Displaying Source Code published by DTP Engines. Source code files are collected during analysis by DTP Engines and stored at DTP Server. In order to display the file in a view, the file is obtained from server's storage.
  • Displaying Source Code from Source Control System. Information about Source Control System is collected during analysis and provided to DTP Server. In order to display the file in a view, the file is obtained from Source Control System.

Users must also have permissions to view source code. See User Administration for additional information.

Source Code File Encoding

By default, DTP assumes that source code is encoded in UTF-8. If the source code is encoded with a different character set, you can specify it in the Parasoft Test Settings form by adding the file.encoding.name property. For example:

file.encoding.name=UTF-16

You can configure this setting for individual projects or for all projects if all source code is encoded in the same way. See Connecting Parasoft Test for additional information.

  • No labels