> -----Original Message----- > From: Daniel Carrera [mailto:dcarrera / math.umd.edu] > I'm trying to figure out how to ust Test::Unit. I've read the > documentation in: > http://testunit.talbott.ws/doc/index.html > > But I'm no closer to understanding it than I was before. At > the end of > the page, the author says that (s)he'd like to get some > feedback. Whoever > the author might be, here is some feedback: > > 1) Include your name and email so that it's easier to send > you feedback. Eh? I'm guessing you got testunit off the RAA, in which case you would have seen that Nathaniel Talbott is the author. His name and email address are also in the README file. It's ALSO in the index.html file, under "Contact Information". > 2) Could you include an example of how I'd use Test::Unit? class TC_Foo < Test::Unit::TestCase def setup @f = Foo.new end def test_bar assert_equal("bar",@f.bar,"Bad result for 'bar()'") end def teardown @f = nil end end There are also some examples in the "examples" directory. Regards, Dan