in reply to Perl Code Quality
Tests are useful for verifying that the system works as specified, but are also useful for future development. Having to write tests generally motivates developers to create a clean API for their modules. And a comprehensive test suite gives more confidence, that when one does make changes, the original functionality doesn't break.
If the test suite is written in the context of a test-driven development process (i.e., tests first, then code), even better.
Update: corrected a grammar mistake.
-Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Code Quality
by biosysadmin (Deacon) on Sep 25, 2004 at 03:21 UTC | |
|
Re^2: Perl Code Quality
by Micz (Beadle) on Sep 26, 2004 at 18:13 UTC |