[squeak-dev] Re: [Pharo-project] Xtreme Pharo hacker needed :)
eliot.miranda at gmail.com
Sun Jun 27 23:46:07 UTC 2010
2010/6/27 Henrik Sperre Johansen <henrik.s.johansen at veloxit.no>
> On 27.06.2010 20:20, laurent laffont wrote:
> On Sun, Jun 27, 2010 at 7:11 PM, Alexandre Bergel <alexandre at bergel.eu>wrote:
>> > The problem is that I don't really know if the method I've changed has
>> been actually "hit" by the tests. I just see that tests has been run. I
>> don't know if my method has been called when running the tests.
>> > So I want to detect this.
>> > One way of doing this seems to use
>> MethodContext>>runSimulated:contextAtEachStep:. I've found this looking at
>> MessageTally. Is it the best solution ?
>> If you know exactly which compiled method you are interested in, I would
>> wrap it using a plain object that answers to #run:with:in:
>> This is a feature supported which is supported for quite some time by the
>> Info on
>> http://www.iam.unibe.ch/~scg/Archive/Papers/Bergel06bRDLPrototyping.pdf<http://www.iam.unibe.ch/%7Escg/Archive/Papers/Bergel06bRDLPrototyping.pdf>, Section 2.2
> Thank you, it's cool to learn so sexy stuff :) Should be in Pharo book.
> Note: The Cog VM crashes on TestObjectsAsMethods.
Yes. I never tried to get this to work. How important is this to people?
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev