C-Cpp-Coverage-for-CLion icon indicating copy to clipboard operation
C-Cpp-Coverage-for-CLion copied to clipboard

Viewing coverage for library targets

Open omertuc opened this issue 6 years ago • 1 comments

Is there anyway to view the coverage for library targets?

My target is a shared library that is called from a Python script. I want to run the Python script and see the resulting coverage of the C library being called.

Is that an option? How can I do something like that?

omertuc avatar Oct 29 '19 09:10 omertuc

I do not think this is currently possible.

I have two ideas of solving this. Having a button to import coverage data manually and a task one can add to the before launch selection in a run configuration (similar to how CLion runs Tests and has prepare tests task). Hope that sounds good

I will try to implement those once some other stuff in the pipeline is done

zero9178 avatar Oct 29 '19 11:10 zero9178