Currently, we do not have a Quality Assurance (QA) department. I've been pushing this issue rather strongly here at work as some of the work that we are doing is rather complex and relies on ad hoc testing of the sites we're building. Naturally, this is not an acceptable solution and a proper QA department (or person) who can institute an automated testing program should greatly improve the reliability of our products and increase our development speed. However, until we get someone to fill this position, I've been looking into alternatives.

One thing I've been considering is exploring Design by Contract. If you're not familiar with it, Design by Contract is a way of designing systems where each component specifies exactly what it accepts and what it will produce. This is the 'contract' between the client and server. Any code that violates the contract immediately generates useful error messages that can be used to track down and punish the offenders. Further, one can simply turn off the module to ensure that this does not affect the performance of production code.

I've never actually used this technique and it was my intention of downloading the modules and start testing them. Unfortunately, the link on the CPAN appears to be broken. I've also checked http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?request=search (a great CPAN mirror) to no avail. Until such time that I get a tarball to install and test with, can anyone offer suggestions or thoughts about using this? I know that many here do not care for Bondage and Discipline in code, but we're working on some rather large projects that are becoming unmanageable.

Cheers,
Ovid

Vote for paco!

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.


In reply to Stopgap measures when you don't have a QA department by Ovid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.