-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 11 Sep 2002 10:14, cix wrote:
> Hi!
>
> I am writing a peer to peer communication
> (using a Recever/Forwarder pattern) that is based on tcp/ip.
> How can I test it using Test::Unit in one process?
> Is there any special mock class technic?
>
> I have the same problem testing SOAP based communication.
>
> Thanks a lot for the help!
>
> Mauro

Hi Mauro,

I'd suggest looking at "mocking" those things. Get Test::Mock which works with 
Test::Unit

http://www.ruby-lang.org/~knu/cgi-bin/cvsweb.cgi/rough/lib/testmock/

This will be part of standard Ruby in the future IIRC.

- -- 
Signed,
Holden Glova
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9gEX+0X8w8X71zPcRAuKhAJsFhW1jBz+HFDTL14MWQ4nmQwuEygCcDVwJ
SrXLXaMcDbi2qedbUlthMHI=
=Ub14
-----END PGP SIGNATURE-----