Forum: Ruby Unit-testing and sessions.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B8cfd5ec0f88bf5b5f2eedda7d1a0746?d=identicon&s=25 unknown (Guest)
on 2007-05-30 10:59
(Received via mailing list)
So, I have started on a unit testing framework for the modules I'm
using in a web app.  That's working, but what about testing the CGI
scripts which use them?  WebUnit seems to support doing this to
scripts that have already been copied into the server... Is there
a nice clean way to just run the scripts in a sandbox that looks
to the script like a server called it?  I'd rather do that before
bothering the web server... Obviously, there'd also be a need for a
"live" test on the server. But for now, I'd like to be able to fake
things up and run scripts in a controlled environment.  I suppose
I could just roll my own running scripts with redirected input and
output, but...  Someone must have done this.

This topic is locked and can not be replied to.