--Apple-Mail-28--577431685 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 30 Dec 2004, at 04:35, Jim Weirich wrote: > 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. Oh, right. Use testrb instead. > I'm just curious about /why/ this change was introduced. What does it > fix? I'm not sure, but see: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/4008 -- Eric Hodel - drbrain / segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Apple-Mail-28--577431685 content-type: application/pgp-signature; x-mac-type=70674453; name P.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB1EjHMypVHHlsnwQRAtdSAJ4/eoZQc6uQS3p2TAdMCFHIHZpQegCgx4Bh WZvXRSqA+YA3fYLWa0zeBeMs/ -----END PGP SIGNATURE----- --Apple-Mail-28--577431685--