Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How do I test a CGI program properly?

by fmogavero (Monk)
on Jan 07, 2002 at 19:55 UTC ( [id://136845]=note: print w/replies, xml ) Need Help??


in reply to How do I test a CGI program properly?

ajt,

You have two different type of testing needs listed in your request for help. The first type of testing method is usability testing. The second type is sytematic.

Usability testing is performed by users. In the classes that I took, we constructed web pages out of construction paper and asked users to physically push buttons, fill in text, etc.. after they were given a specific task to perform. This allowed us a gauge on what the user perceived the functionality of the web site was. It also allowed us to ask them questions afterwards. If you get to ask people to use the application, ask them to perform a specific task. (Log on to the application and change your password) While they perform this task sit in the background and watch what they do. If they complete it successfully, ask them to rate it on a scale with the parameter that you are looking for. If they don't complete the task, find out exactly what stopped them from completing it.

Systematic testing is testing the system. Since you know how to use Perl, construct an app that makes demands on the system. Fetch a ton of database material while generating a bazillion web pages.......

I hope that this has helped, since that is my intention.

Good Luck,
fmogavero

  • Comment on Re: How do I test a CGI program properly?

Replies are listed 'Best First'.
Re: Re: How do I test a CGI program properly?
by ignatz (Vicar) on Jan 07, 2002 at 21:46 UTC
    I must say that I sleep much better at night since I started doing automated testing on web apps. You still miss stuff, but usually it's pretty obscure. That's one thing about XP programming that I totally agree on.

    On the usability front, I try to make it as easy as possible for users to comment on the application as they use it... some sort of feedback link to a form that records as much information as I can get (browser, url, action, time, etc). This gives me a nice database table todo list without having to sift through and reply to dozens of emails.

    ()-()                            
     \"/                                   
      `

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (None)
    As of 2024-04-25 04:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found