Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: What goes in a test suite?

by chromatic (Archbishop)
on Aug 10, 2002 at 16:46 UTC ( #189198=note: print w/ replies, xml ) Need Help??


in reply to What goes in a test suite?

There are at least two kinds of tests: unit tests and integration tests. Unit tests test individual pieces of your code (functions, modules) in sufficient isolation, to demonstrate that the implementation works as you expect. Integration tests explore the project as a whole (as far as possible), to show that the individual pieces work together to provide the desired behavior.

Start with Test::Tutorial, then my Introduction to Test::More. You might also like a longer and slightly modified version of Test::Tutorial, and the Testing Evangelism article. A very detailed example can be found in the Test::MockObject discussion.


Comment on Re: What goes in a test suite?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-08-30 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls