From: onion wushu Date: 2010-03-25T18:37:17+09:00 Subject: Unit Testing : line by line ? Hi everybody ! I would like to verify some properties in a method, line by line. 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 ? Thanks ! -- Posted via http://www.ruby-forum.com/.