From: Phlip Date: 2009-04-04T21:49:25+09:00 Subject: Re: [Ann] Verify, a very basic testing tool. Robert Dober wrote: > Maybe, indeed I had the very strong intention to write Lab419 to make > my code Ruby1.9 and 1.8 compatible. Too much work? Not enough time? I > dunno, finally I got tired of it and wanted my closure based Verify to > work. This goes without pain in 1.9. > But I agree with what you say. Here's a snip of my Rakefile, tuned for TDD: task :default do sh 'ruby186 test/assert2_rjs_suite.rb' sh 'ruby187 test/assert2_rjs_suite.rb' sh 'ruby190 test/assert2_rjs_suite.rb' sh 'ruby191 test/assert2_rjs_suite.rb' sh 'ruby186 test/rubynode_reflector_suite.rb' sh 'ruby187 test/rubynode_reflector_suite.rb' sh 'ruby190 test/ripper_reflector_suite.rb' sh 'ruby191 test/ripper_reflector_suite.rb' sh 'ruby186 test/assert2_suite.rb' sh 'ruby187 test/assert2_suite.rb' sh 'ruby190 test/assert2_suite.rb' sh 'ruby191 test/assert2_suite.rb' ... I'm implying that, after every couple of edits, I run every test in every Ruby. This system works great to avoid the "Too much work? Not enough time?" quandary. Actually, it doesn't. I lied. Most of those are commented out. I cannot figure out how to get my peesashit Ubuntu to install all of those at the same time, and I otherwise don't want to give up on the package manager. Debian's packaging for Ruby sure sucks, huh? -- Phlip