Test::MockObject

2002-06-12 Thread Ilya Martynov
I posted short article [1] about Test::MockObject on www.perlmonks.org. I think it may be interesting to members of this maillist. [1] http://www.perlmonks.org/index.pl?node_id=174082 -- Ilya Martynov (http://martynov.org/)

Re: Test::MockObject 0.03

2002-04-30 Thread Michael G Schwern
On Sun, Apr 28, 2002 at 01:06:18AM -0700, chromatic wrote: > I've written a module to make it easier to do very strict unit testing. It > lets you fake an existing interface somewhat more easily. For example, if > you're testing a web app, you can mock up CGI.pm instead of having to specify > qu

Re: Test::MockObject 0.03

2002-04-28 Thread chromatic
w($q); > $app->run; > It's not so irresistable to me. And doing so gives me a flexibility. > Well I believe you'll convert me with your future article (on > perl.com?) ;) The idea's not very complicated at all. If you know how functions and methods differ and can

Re: Test::MockObject 0.03

2002-04-28 Thread Tels
-BEGIN PGP SIGNED MESSAGE- MOIN, On 28-Apr-02 Tatsuhiko Miyagawa carved into stone: > At Sun, 28 Apr 2002 01:06:18 -0700, > chromatic wrote: > >> I've written a module to make it easier to do very strict unit testing. >> It >> lets you fake an existing interface somewhat more easily.

Re: Test::MockObject 0.03

2002-04-28 Thread Tatsuhiko Miyagawa
st 1 -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]> diff -ruN Test-MockObject-0.03/lib/Test/MockObject.pm Test-MockObject-0.03.patch/lib/Test/MockObject.pm --- Test-MockObject-0.03/lib/Test/MockObject.pm Sun Apr 28 17:46:24 2002 +++ Test-MockObject-0.03.patch/lib/Test/MockObject.pm Sun

Test::MockObject 0.03

2002-04-28 Thread chromatic
I've written a module to make it easier to do very strict unit testing. It lets you fake an existing interface somewhat more easily. For example, if you're testing a web app, you can mock up CGI.pm instead of having to specify query information manually. This is early code and the interface is