K
kelly
I guess I'm still learning ruby.
While looking through the test code I realized I don't see what
actually _runs_.
My tests extend Test::Unit::TestCase, and define tests as
def test_sometestname
# some testing stuff
end
I scanned Test::Unit::TestCase and I see a bunch of function
definitions, but I don't see what runs. I guess I'm looking for a
method or piece of code that starts running, initializes things, finds
the test_* test methods and starts running them.
It's probably staring me in the face. Please point it out to me.
Thank you.
-Kelly
While looking through the test code I realized I don't see what
actually _runs_.
My tests extend Test::Unit::TestCase, and define tests as
def test_sometestname
# some testing stuff
end
I scanned Test::Unit::TestCase and I see a bunch of function
definitions, but I don't see what runs. I guess I'm looking for a
method or piece of code that starts running, initializes things, finds
the test_* test methods and starts running them.
It's probably staring me in the face. Please point it out to me.
Thank you.
-Kelly