From: "Brian F. Feldman" Date: 2000-10-11T01:11:27+09:00 Subject: [ruby-talk:5389] Re: applying unit testing to ruby? Dave Thomas wrote: > Mathieu Bouchard writes: > > > It would be nice to have a number of unit tests for Ruby internals > > themselves, so that if I break something hacking with the internals I may > > know it. Of course this isn't ideal because Ruby unit tests have to rely > > on Ruby somehow, to be evaluated; but it could be good for catching subtle > > changes in less fundamental modules/classes, e.g. IO, File, Regex. > > Funny you should say that... > > I'm in the middle of completing a set for Ruby 1.6. Right now I have > tests for 796 separate functions, with just over 10,000 asserts. > > My problem is that it currently is not multi-platform. It runs on > recent Linux versions, but it relies on having some utilities present > that older Linuxes (and other Unices don't have). When I get time I'll > tidy it up and make it available for download. Cool :) Let me know if you want any help getting rid of Linux dependencies -- I'd love to have the regression test suite, too. -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------'