Code coverage

Craig Latta craig at netjam.org
Mon Jan 16 19:22:03 UTC 2006


Hi Diego--

 > Hi, is there any tool to do code coverage? (at method level is enough,
 > i want to do something to check that unit test cover all the methods)

	It's not available as a tool for current Squeak yet, but for what it's 
worth...

	One could make such a tool with Spoon by using method activation 
marking. Clear all the marks, run the tests, then check the marks. (The 
Spoon VM has a distinct object format for methods which have been run.)


-C

-- 
Craig Latta
improvisational musical informaticist
www.netjam.org
Smalltalkers do: [:it | All with: Class, (And love: it)]





More information about the Squeak-dev mailing list