Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use the -help command line switch:

Code Block
dottestcli.exe -help

Why is dotTEST unable to find build artifacts in Visual Studio 2017 when Lightweight Solution Load is enabled?

...

What if dotTEST cannot collect coverage information?

  • Ensure that appropriate PDB files are available when coverage is collected. Each analyzed assembly must have a corresponding PDB file generated during the same build (dotTEST does not support the portable format of PDB files).
  • Some versions of .NET Core may have a bug that prevents dotTEST from collecting coverage data for .NET Core applications. To ensure that the application coverage is collected, copy the dottest.Hooks assembly shipped with dotTEST to the application folder where IIS is deployed. The assembly is shipped in [INSTALL DIR]/integration/iis/bin/dottest/dotnet.

What if dotTEST fails to run analysis and generates an empty report?

Some machine setups may fail to provide dotTEST with the path to Visual Studio and its version, which prevents dotTEST form from opening and analyzing projects. In such a case, you may need to manually set the following environment variables:

...

How can I work with dotTEST via proxy?

Typically, if you connect through a proxy server, you need to configure the connection by passing protocol-specific system properties to the

...

JVM – using the -D command line option.

To work with dotTESTwith dotTEST,  ensure ensure that the system properties for the HTTPS protocol (are configured. At a minimum, you must configure https.proxySet=true, https.proxyHost=[hostname], and https.proxyPort=[port number]. If your proxy server requires authentication, you can configure your credentials with the https.proxyUser and https.proxyPassword properties.

) are configured. Your command line may resemble the following:

Code Block
languagetext
java -Dhttps.proxySet=true -Dhttps.proxyHost=myserver.example.com -Dhttps.proxyPort=8080 -Dhttps.proxyUser=user1 -Dhttps.proxyPassword=MyPassword

In addition, you can configure the https.nonProxyHosts property to specify hosts where connection via proxy is not required.

(info) The proxy mode is not supported for Visual Studio.

Why are suppressions of some rules no longer available on DTP after dotTEST was upgraded to a newer version?

Anchor
new_messages
new_messages

Suppressions associated with rules whose messages changed between releases may not be available on DTP and the rules must be re-suppressed.

(info) You can restore legacy messages for BD category rules in version 10.4.1 and later by configuring the following settings in your .properties file: flowanalysis.legacy.messages.for.<rule_ID>=true.

For example:

flowanalysis.legacy.messages.for.BD.PB.ARRAY=true
flowanalysis.legacy.messages.for.BD.PB.ZERO=true