-
Issue running unit tests (cpptest) using C++Test (9.6) and Cygwin (GCC 6.4)
Disclaimer: I have not used C++Test in the past. I have installed Cygwin with GCC version 6.4.0 but the latest version of the GCC toolchain that C++Test version 9.6 seems to support is 4.9.x. I haven't figured out how to install an older version of GCC to match C++test requirements. I figured that I could run static…
-
Setting Environment variables and supply arguments
Hi, I am currently using the cpptest plugin v9.5 for Eclipse Luna on a RHEL 7.2 environment. My c++ application requires some command line arguments to be supplied, as well as me setting an environment variable for loading of shared libraries. Where do I set them? In addition, somehow it is unable to find and read the test…
-
Is there a way to get the URL to a published DTP report immediately after running cpptestcli?
We are looking to make this information easily available to the user either straight from a bench command-line execution or after a Jenkins run is complete (automated e-mail or similar messaging system). Currently, a user has to manually log into DTP and navigate to the reports themselves to view this report.
-
cpptest warning report format
I need to create "text based" warning report from cpptest analysis. Is this possible? it seems that other formats are supported (e.g PDF and XML) , but not text. Any idea?
-
how to generate and populate localsettings.properties files
localsettings.properties files store important information regarding Parasoft tool's stored configurations as well as project parameters. A localsettings.properties file is required to utilize CLI integration, back up an installation, or transfer configurations from one installation to another. You will first need to to…
-
Standard Process for Upgrading JTest Eclipse Plugin
Hi Parasoft. We recently received your advice on best practice for upgrading Parasoft Desktops / Eclipse plugins. We wanted to share this process on the Forum for other users/customers. Please will you review the process steps and comment if any amendments are needed. The requirement was: to upgrade the JTest Eclipse…
-
Cannot Find Help or Rule Documentation in Visual Studio 2012 and Above
Reason: By default, Visual Studio 2012 opens all help documentation in a web browser, which does not recognize the Parasoft documentation. The Parasoft documentation must be opened through the Visual Studio Help Viewer. Solution: To configure Visual Studio 2012 to use the Help Viewer instead of a Browser, go to the menu…
-
How to install multiple versions of Parasoft into Visual Studio
Prior to perform following action, please make sure to uninstall all Parasoft plugins for Visual Studio. Performing the Installation * Double-Click on our installer. * Proceed with the normal installation steps until it asks where to install Parasoft Test. * On the Select Destination Location page, locate the "Advance"…
-
Could not create the Java Virtual Machine
If you receive a start-up error when starting a Parasoft Test tool with the error message: "Error: Could not create the Java Virtual Machine. Error: A fatal exception has occured. Program will exit." followed by another message popup (see images in solution), this may mean there is not enough continuous memory to allocate…
-
How to un-lock a workspace after a force-close
Description: Parasoft-Test based products (such as SOAtest, Jtest, or Virtualize) are shipped as Eclipse plugins. When Eclipse starts, it opens a workspace - locking it so that other Eclipse instances cannot use the same workspace at the same time. When Eclipse shuts down, this workspace is then un-locked. Cause: When one…
-
How to remove Built-in test configuration after the installation is completed
In rare cases, an organization would like to standardize into few selected test configurations and would not like to show all available built-in test configurations from Parasoft solutions such as C/C++test and Jtest. This is not recommended to remove any built-in test configuration and this process must run again as a…
-
Test Configuration - Scope Filters for static code analysis
How to filter specific packagesHi Is there a way to filter by package names (full or partial) so that the static analysis may focus on that set of classes?
-
Jtest on Windows Vista!
is jtest support window vista?Hi threre, I wonder if jtest could run on Windows Vista platform. Our new project will use Windows Vista as standard operating system. Will you answer to me?
-
Suppression messages
How can I get a listing of all the suppression messages for a particular project's analysis? I can display the list of suppression messages, but I can find a way to generate a report. I can't even copy/paste the messages into another Windows program. Are these suppression messages stored in a file somewhere?
-
How to merge report file
How to merge report fileHello, I'm using Jtest 6.0 on a linux server. When I run jtest with the command line from ANT, it happens that JTest jams. I followed a Jtest training and the teacher told me to separate jtest operations: coding check, generation and execution. The 3 separated operations work fine but the html…
-
Check unused code in comment lines
Hello All, I have some problems about configing JTest's rules. Could you guys tell me the ways to resolve it. 1. How can I check the old code ( not unused code ) in comment lines. 2. If JTest have rules to test it, pls. tell me the way to config. 3. If JTest have no rule, How can I create rule by rule wizard for check this…
-
Eclipse Project Refresh
Prevent Jtest from refreshing projectHi there, Due to a problem with Eclipse I have a project that takes about 5 minutes to refresh (the project contains filed named like Test::Unit::Assert). This seems to be unavoidable without getting Eclipse fixed so I just live with it. However, whenever I try to run a Jtest…
-
Adding new Metrics
Where should I add new metricsHi, I do not quite understand how the mark up should be developed to add a new metric. Where should I save the implemented class? Could some one tell me how I should go about adding a new metric? Thank you
-
Changing/Checking severity level of rules
unable tochange/find the severity levelsHi 1. I have to change the severity level of certain exisiting rules(eg. PB.SBC,OOP.AHSM, CODSTA.VDT etc). But when i right click the the rule i can not see the rule wizard option. How do I change the severity of these rules? 2. After i run the jtest, how can find out the severity…
-
How to get html report from jtestcli?
-report seems only to give xml report...How can I get the jtestcli to give me an html report? -report usage seems to say only xml report is generated. And... when it finishes the tests it says, "wrote report to .xml"
-
Generating and running Unit Tests
The documentation says for the option 'Generating and Run Unit Tests' the Jtest generates Test Cases for classes without existing test classes and classes with old test classes. If i change the code and the old test cases are no longer valid, will this option overwrite the old test class with new teast cases or will it use…
-
Skipping classes or resources.
How do you skip classes for testing?How do you skip class that you do not want to test in Jtest? 1. Right Click on the Project select Properties 2. From the "Properties for <project_name>" click on Parasoft. 4. Click on Scope Settings. 6. You will see "Resources to skip: " Click on "Add" button. 5. Choose the files you do…
-
How do I clear all the Jtest errors from the views
Press the red 'X' on the Jtest Errors Found View. This will clear all the errors.
-
Different workspace during launch of Jtest
How to specify it.Jtest can be configured to use a different workspace by passing the -data tag to the Jtest executable. For example, • Windows: jtestcli.exe -data %WORKSPACE_DIR% -resource resource_to_test -config "team://Team Configuration" -publish -localsettings acme_policy.settings • UNIX: jtestcli -data…