Ruby testing: printing inside a test case
- by marienbad
I'm brand new to Ruby testing and Google isn't helping.
Using Test/Unit, how can I print an instance variable, like
test "thing to happen" do
do_stuff
assert_equal "foo", @variable
p @varible
end