Thanks Craig, I would take a look to Spoon.<br><br>I want to make a tool to test a package &quot;quality&quot; before saving it in MC, these tests includes:<br>- Run the unit tests and check that the coverage is ok<br>- Run Smalllint
<br>- Verify that: <br>&nbsp;&nbsp;&nbsp; - there is no uncategorized methods<br>&nbsp;&nbsp;&nbsp; - all the dependencies of the package are declared (for example if I use a TestCase, then the SUnit package must be in the requisites)<br><br>That's why I want to do code coverage with the current Squeak VM.
<br>Maybe I can use &quot;method wrappers&quot;, has someone tried to do that without modifying the VM?<br><br><br><div><span class="gmail_quote">On 1/16/06, <b class="gmail_sendername">Craig Latta</b> &lt;<a href="mailto:craig@netjam.org">
craig@netjam.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi Diego--<br><br> &gt; Hi, is there any tool to do code coverage? (at method level is enough,
<br> &gt; i want to do something to check that unit test cover all the methods)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;It's not available as a tool for current Squeak yet, but for what it's<br>worth...<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;One could make such a tool with Spoon by using method activation
<br>marking. Clear all the marks, run the tests, then check the marks. (The<br>Spoon VM has a distinct object format for methods which have been run.)<br><br><br>-C<br><br>--<br>Craig Latta<br>improvisational musical informaticist
<br><a href="http://www.netjam.org">www.netjam.org</a><br>Smalltalkers do: [:it | All with: Class, (And love: it)]<br><br><br><br></blockquote></div><br>