From: Max Ischenko Date: 2001-05-18T15:40:05+09:00 Subject: [ruby-talk:15356] Re: help with rubyunit At Thu, 17 May 2001 21:12:03 GMT Wayne Blair wrote: > Here is the solution to the problem, finally. > I looked into the source and it appears that the framework is setting > up the tests so that a prepared result and the result are observing > each other. These objects do not know about the class you are testing > as needing observing. This is the override of setup_assert that runit > TestCase uses internally to notify the observers when an assert is > run. Thanks, Wayne. IMHO RUNIT can provide a hook to connect class to the testcase to avoid pass-the-self-to-be-counted trick.