Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: CGI Test Framework?

by hbo (Monk)
on Jul 27, 2004 at 00:41 UTC ( #377623=note: print w/ replies, xml ) Need Help??


in reply to CGI Test Framework?

That is pretty darned close to what I asked for! Thanks!

WWW::Mechanize is the exact mid-level glue I need to develop complete code coverage. What it lacks as a test platform is a consistent way to represent the inputs in external files, and a consistent way to evaluate the return values of a form POST. I'm leaning toward developing these features to work with the module.

Hmm, WWW::Mechanize::FormFiller looks like it handles the input side rather well.

I know I'm not going to escape all the drudgery in developing my tests. But I have an extreme case of Laziness, and I'd like to duck as much of the drudge as I can. Also I'd like to build on others' work in case I come up with something useful enough to share. That way I don't have to maintain the whole pile myself. (More Laziness. At least I'm consistent. 8)

"Even if you are on the right track, you'll get run over if you just sit there." - Will Rogers


Comment on Re: CGI Test Framework?
Re^2: CGI Test Framework?
by stvn (Monsignor) on Jul 27, 2004 at 01:52 UTC
    I know I'm not going to escape all the drudgery in developing my tests. But I have an extreme case of Laziness, and I'd like to duck as much of the drudge as I can. Also I'd like to build on others' work in case I come up with something useful enough to share. That way I don't have to maintain the whole pile myself. (More Laziness. At least I'm consistent. 8)

    I believe that Test::WWW::Mechanize is still a work in progress. You could always msg petdance (the author of both WWW::Mechanize and Test::WWW::Mechanize) and see if he is interested in any of your ideas on how to make it more useful.

    -stvn
      Yes, it looks as though he's just made a start at a test framework using his base module. I'll keep that in mind as I proceed. Thanks for the pointer!

      "Even if you are on the right track, you'll get run over if you just sit there." - Will Rogers

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://377623]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-10-24 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (138 votes), past polls