From: Robert Klemme Date: 2010-04-23T00:27:17+09:00 Subject: Re: Test::Unit examples and OptionParser 2010/4/22 Martin Hansen : > @Robert > >> What exactly do you expect? > > I was hoping to see a bunch of real-life Test::Unit examples of how to > validate different types of arguments (option specs) given to a script > via OptionParser. Well, there you have it. Just replace "==" tests with assertions and wrap the whole stuff in test methods. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/