Why can't we keep the tests in a separate file anyway? We can append the
production class anywhere we want, right? Would this mess up RDoc in any
way?
- myclass.rb --------------
class MyClass
def initialize
#
end
def do_stuff
#
end
end
---------------------------
- myclasstest.rb ----------
class MyClass
# would this test name need to not
# conflict with actual method name?
test :do_stuff, "Testing the doing of stuff" do
#
end
end
---------------------------
Chris