in reply to Testing our work
You can use HTTP::Request::Common and LWP::UserAgent to simulate form POSTs. You say you "... don't want to take control ..."; not sure what that means, but you can kick off the process and ignore the results.
An alternate and more elegant solution is to decouple the web piece from the configuration piece: rather than have the configurator look at CGI parms have one part that gathers the CGI parms into some perl data structure (hash, let's say) that is passed to your configurator.
Then you can test your configurator to your heart's content independent of the web front-end by passing it in any number test-case hashes. If you store this in a file some place then you can automate your regression tests ... always increases the liklihood they'll get run.
|
|---|