On Mar 25, 2010, at 02:37 , onion wushu wrote:

> I would like to verify some properties in a method, line by line.

why?

> For
> example:
> 
> class Hello
>  def initialize
>    @a = "hi !"
>  end
> 
>  def say_hi
>    @b = "hi !"
>    # checking here
>    @b = "hello !"
>    # another checking here
>  end
> end
> 
> We could imagine that we would like to verify the properties @a==@b
> after the first declaration of @b and after the second one. Is there a
> way to handle this case with TestUnit ? Any other suggestions ?

No. and no.