From: Jim Weirich Date: 2004-12-30T21:35:33+09:00 Subject: Re: unusual rake behaviour On Thursday 30 December 2004 03:06 am, Eric Hodel wrote: > > Someone just informed me that in 1.8.2 test/unit does not work with the > > ruby -e0 -rtestfile technique that Rake is using to load the unit > > tests. > > What's wrong with ruby -Ilib testfile? You can only explicitly run one script at a time. Most projects have more than one test file to be included in a test run. Rake use to use a script to find all the tests files and load them, but the -r technique accomplishes the same thing without polluting the test environment with any extraneous rake code. I suppose you could explicitly load the first (or last) test file and require all the others. There are plenty of workarounds. I'm just curious about /why/ this change was introduced. What does it fix? -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)