arcnon has asked for the wisdom of the Perl Monks concerning the following question:
Does some know of a best practices primer when writing test scripts for modules. I am not sure exactly what to test for. My functions check bounds. Do I need to test it anyway. If I am returning a random array element what is an appropriate test for this type of thing? Are there times you don't need tests on a module?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: writing tests on modules
by bobf (Monsignor) on Nov 28, 2005 at 04:44 UTC | |
by tphyahoo (Vicar) on Nov 28, 2005 at 11:04 UTC | |
by Smoothhound (Monk) on Nov 29, 2005 at 09:37 UTC | |
Re: writing tests on modules
by sgifford (Prior) on Nov 28, 2005 at 04:32 UTC | |
by xdg (Monsignor) on Nov 28, 2005 at 15:33 UTC | |
Re: writing tests on modules
by tirwhan (Abbot) on Nov 28, 2005 at 09:25 UTC | |
Re: writing tests on modules
by TedPride (Priest) on Nov 28, 2005 at 07:44 UTC | |
Re: writing tests on modules
by cog (Parson) on Nov 29, 2005 at 09:51 UTC |
Back to
Seekers of Perl Wisdom