From: John S. <mar...@gm...> - 2012-11-05 15:34:14
|
On Tue, Oct 30, 2012 at 12:21:49PM +0100, Peter Oberparleiter wrote: > On 30.10.2012 01:39, John Schmitt wrote: > >Is there a way to generate track the coverage of a project over time? If I'm writing unit tests as my code base expands, can I see how my coverage of that code base goes up or down over time as reported by lcov? > > There is no integrated way to track coverage changes over time with > lcov, although this may be a good idea for a future improvement. > > For now, you could manually extract the coverage results using the > --summary or --list option of lcov and put that into a spreadsheet. Thank you, Peter, this is the best advice I've received. I see the --list option in lcov but I don't see a --summary. Are you referring to --function-summaries which gcov takes? John |