From: Dossy Date: 2002-07-15T12:51:49+09:00 Subject: Re: Has anyone combined Test::Unit with CGI? If anyone is keen to try my changes out ... See what it does here: http://panoptic.com/ruby/test_unit/tc_web_testrunner.cgi See how it does it here: http://panoptic.com/ruby/test_unit/tc_web_testrunner.cgi.txt http://panoptic.com/ruby/test_unit/web_testrunner.rb.txt Yes, it's just mostly copy-and-paste. Yes, I don't have unit tests for my changes (yet). Yes, I crammed this together in probably under an hour -- it could use lots of cleaning up, and some snazzier styling to boot. I may be inclined to clean things up if there's interest from anyone but myself. ;-) -- Dossy On 2002.07.15, Dossy wrote: > On 2002.07.15, Jim Freeze wrote: > > On Mon, Jul 15, 2002 at 11:35:25AM +0900, Dossy wrote: > > > Doing some Test::Unit work on my CGI scripts, I wondered if anyone > > > had done any work combining Test::Unit with CGI? > > > > I've heard of a webunit, but I have not had the chance > > to use it yet. > > I'm not talking of combining them in that way. > > I'm talking more like a test/unit/ui/web/testrunner.rb ... which I've > got something that "works" for me now already ... no unit tests for > it, though. Just a mad copy-and-paste from > test/unit/ui/console/testrunner.rb and test/unit.rb ... -- Dossy Shiobara mail: dossy@panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)