From: "Volkmann, Mark" Date: 2002-10-15T22:53:55+09:00 Subject: Re: Test unit stuff... This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C27452.24AEA200 Content-Type: text/plain; charset="iso-8859-1" What do you use instead of RUNIT::CUI::TestRunner.run? > -----Original Message----- > From: Chris Morris [mailto:chrismo@clabs.org] > Sent: Tuesday, October 15, 2002 7:32 AM > To: ruby-talk@ruby-lang.org > Subject: Re: Test unit stuff... > > > > Converting from RubyUnit to Test::Unit is pretty easy. Generally it > > involves ... > > > > 1) Changing "require 'runit'" to "require 'test/unit'". > > > > 2) Changing > > class TestXYZ < RUNIT::TestCase > > to > > class TestXYZ < Test::Unit::Testcase > > > > 3) Change and "assert_equals" to "assert_equal", and any > > "assert_exception" to "assert_raises" > > IIRC, > > 4) changing setup to set_up (and teardown to tear_down ... ? > can't remember) > > Chris > > *********************************************************************************** WARNING: All e-mail sent to and from this address will be received or otherwise recorded by the A.G. Edwards corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ************************************************************************************ ------_=_NextPart_001_01C27452.24AEA200 Content-Type: text/html; charset="iso-8859-1" RE: Test unit stuff...

What do you use instead of RUNIT::CUI::TestRunner.run?

> -----Original Message-----
> From: Chris Morris [mailto:chrismo@clabs.org]
> Sent: Tuesday, October 15, 2002 7:32 AM
> To: ruby-talk@ruby-lang.org
> Subject: Re: Test unit stuff...
>
>
> > Converting from RubyUnit to Test::Unit is pretty easy.  Generally it
> > involves ...
> >
> > 1) Changing "require 'runit'" to "require 'test/unit'".
> >
> > 2) Changing
> >      class TestXYZ < RUNIT::TestCase
> >    to
> >      class TestXYZ < Test::Unit::Testcase
> >
> > 3) Change and "assert_equals" to "assert_equal", and any
> >    "assert_exception" to "assert_raises"
>
> IIRC,
>
> 4) changing setup to set_up (and teardown to tear_down ... ?
> can't remember)
>
> Chris
>
>



***********************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
************************************************************************************
------_=_NextPart_001_01C27452.24AEA200--