Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Last week, on their way to the Pittsburgh Perl Workshop, Andy can Pete stopped by the RubberyCity PM meeting to talk about Testing in Perl.

Now, I'm no stranger to tests. Handel has a test count of over 11k, and I like to think that I'm doing pretty well for not knowing what I'm doing. If nothing else, tests save me from myself. :-)

One of the slides Andy had was something like "10 things to test other than code". While I knew you could test other things like servers, data, file systems, websites, etc, I've always concentrated on tests related to the dist they're in. It finally clicked for me today at $work.

Once again, I was asked to check a data vs. server thing. Part X has an image assigned, but is the image actually on the servers?

I've done it before, and I have no doubt I'll do it again. So, why not write a test for it as an investment in my future free time? Even if it's not an official test in an official test suite, in an official language, it still exists, and I can still run them on a whim.

In reply to Andy Lester Is My hero by jk2addict

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2022-05-18 23:03 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (71 votes). Check out past polls.