-
Biggest program here is 2k lines, used to accurately push script changes
between the dev/test/prod environments, factoring in release/wave/database
environment. Actually broken down into a bunch of components. -
The equivalent Korn shell application was approaching 8k lines. Speed is
about the same though. -
Can’t use it in production, since our sysadmins don’t consider it a
"real" language. -
Task automation for testing team that doesn’t understand UNIX.
-
No GUI’s used.
-
vi
-
First choice for scripting, serious choice for apps but a lack of
co-workers who know it prevent it from really being used. -
At Borders looking for a book to buy. Found the pickaxe book and thought
that it looked neat.
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
···
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