BullseyeCoverage
To build your project for code coverage collection, follow the steps below.
Tools Coverage Build
, or
with the command cov01 -1
or
within Visual Studio using the menu command
Tools Enable/Disable BullseyeCoverage Coverage Build
.
-cc compilerList |
Install compiler integration for the comma-separated list of compilers.
To see the currently supported compiler names, invoke the installer with option -help .
Specify none for no compiler integration.
|
-file path |
Add the COVFILE environment variable to the registry with the value path.
The default is Documents\test.cov
|
-folder path |
Install BullseyeCoverage to the folder path.
The default is %ProgramFiles%\BullseyeCoverage
|
-help | Show command line options and compiler names |
-licenseKey string | Use license key string |
-licenseManager path | Configure to use the license manager file named path |
-silent | Do not display the graphical window interface |
-singleUser | Install for the current user only |
To build your project for code coverage collection, follow the steps below.
COVFILE
environment variable to the path where you want the coverage file created.
For example:export COVFILE=/project/test.cov
Tools Coverage Build
, or
with the command cov01 -1
.
To build your project for code coverage collection, follow the steps below.
COVFILE
environment variable using the command below in the Terminal application.
Adjust the setting to suit your needs.
echo "COVFILE=$HOME/test.cov" >"$HOME/BullseyeCoverageEnv.txt"
Tools Coverage Build
, or
with the command cov01 -1
.
For more detail, see Apple Xcode.
Sample applications and code coverage results are provided in the BullseyeCoverage/sample
directory.
To quickly see how code coverage is presented,
run the Coverage Browser and open the sample coverage file test.cov
in this directory.
You can build and run the sample applications to see how viewing code coverage leads you to new test cases.
To build a sample application on Windows, open the .sln
file in Visual Studio.
On Linux or macOS, run make
in the sample directory.
After building and running the sample,
switch to the Coverage Browser and use the command View Refresh
to see what has happened in the code.
You can see an example HTML report at bullseye.com/sample/ .
Updated: 5 Sep 2024
Copyright © Bullseye Testing Technology. All Rights Reserved.