[squeak-dev] Re: Looking for a code coverage tool
Klaus D. Witzel
klaus.witzel at cobss.com
Wed Jul 16 08:26:40 UTC 2008
On Tue, 15 Jul 2008 11:20:35 +0200, stephane ducasse wrote:
> Hi all
> I would like to run the tests and see which methods are covered.
> I know that christo was used to work but does anybody use it recently?
> Is there another code coverage tool available?
It is perhaps possible to use Goya for that (package on SqM, a VM mod),
though I didn't polish it since VM 3.7-x.
With Goya I colored test methods #test and the rest of the world #reached,
run the tests and report #reached methods which where effectively called
by #test methods (a query which ignores the #test->#test,
#reached->#reached and the not reached combinations).
It does not record nor analyze which part of code in methods is covered
(the classical coverage task which Christo does).
Goya mods the VM (must make/build it), but nowdays the same can be
achieved with Reflectivity's power on any Squeak platform ;)
More information about the Squeak-dev