Re: Mocks and coverage with gtk/glib test frameworks?



On Mon, 26 Oct 2009 at 06:58:35 -0500, Michael Libby wrote:
> 2. Is there any way to measure code coverage?

In Telepathy we use the standard gcov framework that comes with gcc, together
with lcov (apt-get install lcov) to produce a nice HTML report. For instance,
have a look at /m4/compiler.m4 and /tools/lcov.am in telepathy-glib (which
are glued in to the build via /configure.ac and /Makefile.am respectively).

Regards,
    Simon

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]