Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Discussion List
How to interpret "Stat" and "Off" values in C++Test coverage report?
I have the following code coverage report snippet and want to understand what do "Stat" and "Off" values represent and how to interpret them? <CvgData cvgType="SC"> <Stat val="0;3;0;3;0;3;0"/> <Off val="0;76;115;120;146;153;198"/> </CvgData>undefined</File>undefined<File…
Keil uVision Unit Testing ITM Simulator Starter Guide
In this tutorial, we'll be going over how to get C++test to run Unit Tests on Keil uVision projects. * In this example, I will be using the following: * Keil uVision MDK-ARM 5.26 * C++test 10.4.2 * Windows 7 64-bit * If you are familiar on how to import your Keil project and/or create a bdf file for Keil skip to step 7. *…
C++test latest Coverage Collecting Features
C++test has introduced a new functionality that will allow users to combine all coverage findings from their Static Libraries and/or previous runs into one report. We have introduced a new wrapper executable used to collect coverage, cpptestcc, and introduced a new fully customizable Runtime Coverage Library. I have put…
How to show API Coverage in CTP's HTML Report with SOAtest WAR Deployment
At the time of writing this post, I'm using CTP 3.1.2. If you would like the HTML Report displayed by CTP to show API Coverage and you are using the SOAtest/Virtualize WAR deployment, you can do this as so: * Navigate to [WAR deployment's installation directory]/WEB-INF/configs/builtin * Edit the 'Run Automated Server…
Setup Calculator demo (Jtest 10.2.2) with Weblogic (10.3.6)
Pre-reqs: Maven, Java JDK 7, Weblogic 10.3.6, Jtest Engine 10.2.2 * Make sure you configure Maven to be able to use Jtest. See Jtest plugins manual for details. This can be found under: ”\manuals\plugins-manual.html”. * Set up a domain in Weblogic with an Admin server. * Copy the ”\examples\calculator\” folder to a new…
Code Coverage other than Line Coverage
Is there an option in the parameter file that will allow for the running the code coverage to be something other than "Line Coverage", for example "Modified Condition/Decision Coverage"? If so what is the option? When running the unit tests can you have one pass of the unit tests report on all the types of coverage or do…
How do I achieve 80%+ coverage with Jtest?
Parasoft Jtest typically achieves 60-70% code coverage ?out of the box? by analyzing your code. Additionally, by monitoring a running application, Jtest can create tests with the ?real sequences of calls? and ?real data values? used as the application is exercised. If necessary, these test cases can then be extended to…
Question about coverage metric scc and mc/dc
I think when simple condition coverage(scc) reaches 100%, then the mc/dc will also be 100%, is this correct? if this is not true, does anyone have some code snapshots to illustrate? thanks.