Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Testing for Beginners

by blue_cowdawg (Monsignor)
on Apr 08, 2004 at 14:30 UTC ( [id://343614]=note: print w/replies, xml ) Need Help??


in reply to Testing for Beginners

      Lately, it seems that many people have begun to champion the benefits/necessity of building tests.

For me there is no "lately" about it. I have always championed the concept of testing suites for software for anything more complicated than a one liner.

The methodology that I use for testing is a simple one. I ask myself the following quesitons:

  1. What is the base functionality of this software?
  2. How do humans interact with it?
  3. How can I simulate that?
  4. How can I simulate the interactions going wrong?

Once I've answered those questions for myself I proceed to develop a test plan and that most of the time will drive how I write my test suite.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-16 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found