Has anybody looked at cloning XMLRPC::Server instances to run tests
suites against? My problem at the moment is that I’ve got a batch of
tests that each need to run against a fresh XMLRPC::Server instance.
Starting up one instance takes approximately 1.5 seconds on my computer,
which makes running a 100+ test suite rather boring. Cloning the
instance before running a test has no measurable impact on the time
taken, so I was thinking of making a clone for each test from a single
parent instance. However, that doesn’t work because each clone after
the first is disconnected from the network interface, and I’m not
entirely sure how to proceed.
Now, what I’m actually trying to test isn’t the network stack but rather
the XMLRPC interface, so if anybody’s got any bright ideas as to how I
could do that without involving the server’s startup and shutdown
sequence, I’m all ears…