in reply to Development and deployment - some basic guidance
Excellent. Excellent.
On the subject of “testing,” you should pay close attention to the many Perl modules that exist for this purpose ... Test::Mechanize, Test::More, and ... well ... many, many more. You see these tools at work every time you install a CPAN module on your system: first they build themselves, then they test themselves. All of the source-code to do that is right there, usually in a subdirectory called t. Study it carefully to see how it works.
Strongly encourage your developers ... most especially including you! ... to “test as you go.” Write a feature, then immediately write a test for it. Run these tests continually, during the development process. This has two very important advantages to you:
This is also a very useful way to immediately check for problems when you update the production system. Define a series of tests that check for incomplete information, packages that can’t be found or that won’t load, or any other sort of “sanity check” you might need. (Since these tests may change from time to time, of course you store them in the version-control system along with everything else.) As soon as the production system is updated, run the tests. If something is not-right, you will thereby know about it at once. Ideally, you would arrange for this sort of thing to be done “automagically.”
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Development and deployment - some basic guidance
by pemungkah (Priest) on Sep 23, 2010 at 21:27 UTC |