Diagnostics and Logging |
Top Previous Next |
To send your logs for analysis and support, turn logging on.
On Windows: In the Isolator++ Professional installation folder, run Configuration.exe. (See Setting a license) Check "Enable Logging" and select the logs path.
You can set logging from the command line as well, using the following flags:
Configuration.exe --log_enable [1 - enable; 0 - disable] --log_path [path]
Note: Default for --log_enable is 0. Setting --log_path <path> automatically sets --log_enable to 1.
On Linux: In the directory /usr/share/typemock run the IsolatorConfigurator the following console flags:
./IsolatorConfigurator --log_enable [1 - enable; 0 - disable] --log_path(optional) [path]
Note: Default for --log_enable is 0. Default for --log_path is set to /var/log/typemock.
Isolator++ Professional emits diagnostic information by default, in addition to regular test output. To suppress these messages, before running the tests, set an environment variable:
IPP_SUPPRESS_OUTPUT=1
To return to normal, either delete the variable, or set the variable to 0:
IPP_SUPPRESS_OUTPUT=0
Verbose log
Isolator++ Professional will help you debug your tests by printing the stack trace when your tests fail. This will slow the tests a bit but will give you complete stack traces. To log more stack information, add the following line in your test (can be toggled on and off):
Typemock::LogWithStack = true;
|
Copyright Typemock Ltd. 2009-2023. All Rights Reserved.