From: David Heinemeier Hansson Date: 2003-07-30T22:08:35+09:00 Subject: How to unit test CGI methods? I've added a number of methods to the CGI class that I'd like to unit test, but CGI.new insists on prompting for parameter pairs, which nullifies automation. Currently, I'm using an unelegant work-around by keeping all the new methods in a CGIMethods class that I can test. I then have a set of wrappers in the actual CGI extension. But it feels wrong. Is there any way to automate the parameter pairs for CGI.new? -- David Heinemeier Hansson, http://www.loudthinking.com/ -- Thoughts for free http://www.nextangle.com/ -- Thoughts for hire