ThrowTheSwitch / Ceedling

Ruby-based unit testing and build system for C projects
http://throwtheswitch.org
Other
587 stars 247 forks source link

How to add function coverage with HTML report #489

Open dhananjaysbg opened 4 years ago

dhananjaysbg commented 4 years ago

After executing below command, HTML report is only having line and branch coverage. ceedling gcov:all utils:gcov

Is there any way to add function coverage in HTML report.

Thanks in advance.

CezaryGapinski commented 4 years ago

ceedling use external tools to generate HTML report. For now gcovr and ReportGenerator are supported. Function coverage feature for gcovr is not ready yet, but Pull Request is opened https://github.com/gcovr/gcovr/pull/362, so maybe this will be available in the next release version of gcovr. I think the ReportGenerator also doesn't support this type of coverage, but I am not sure.