-
Notifications
You must be signed in to change notification settings - Fork 0
Plugin usage
Export plugin requires OpenCppCoverage 0.9.8.0 or greater.
To use an export plugin, copy the plugin dll into {INSTALLATION_FOLDER}\Plugins\Exporter.
This folder already exits so you must not create it.
Make sure you use the same platform (x86 or x64) for both OpenCppCoverage and plugin!
To check the installation, run the command OpenCppCoverage --help. In the description of --export_type you should see the name of the plugin.
Plugins use the same syntax as the other exports.
OpenCppCoverage --export_type PLUGIN_NAME:ARGUMENT -- YourProgram.exe
where PLUGIN_NAME is the filename without extension of the plugin dll and ARGUMENT is a plugin specific argument.
Here is an example to export using SimpleText plugin on file Output.txt.
OpenCppCoverage --exportType SimpleText:Output.txt -- YourProgram.exe
- SonarQube plugin: https://github.com/KevinLussier/OCCSonarQube