[squeak-dev] Looking for a code coverage tool

View: New views
2 Messages — Rating Filter:   Alert me  

[squeak-dev] Looking for a code coverage tool

by stephane ducasse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

Stef


[squeak-dev] Re: Looking for a code coverage tool

by Klaus D. Witzel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 ;)

/Klaus

> Stef
>
>



LightInTheBox - Buy quality products at wholesale price