> I have never encountered that convention — where have you seen it? I certainly wouldn't expect it; I've mostly seen test files starting with numbers and are all lowercase (e.g. nn-name.t).

Yes. Strongly agree.

Here's another convention I'm sure you'd expect and approve of: convert a haiku (three lines of 5-7-5 syllables) into the test names, so as to entertain the bored tester (or AI robot) by gradually revealing an inspiring haiku as the test suite runs. For example, this haiku:

Coffee mug shatters
Larry Apocalyptic
Parrot not a hoax

Gallop Ponie bold!
Beer to gulp, Buffy astride
Orange sky surrounds

can be easily converted into a CPAN test suite to display:

t/00_Coffee.t ....... ok t/01_mug.t .......... ok t/02_shatters.t ..... ok t/03_Larry.t ........ ok t/04_Apocalyptic.t .. ok t/05_Parrot.t ....... ok t/06_not.t .......... ok t/07_a.t ............ ok t/08_hoax.t ......... ok t/09_Gallop.t ....... ok t/10_Ponie.t ........ ok t/11_bold.t ......... ok t/12_Beer.t ......... ok t/13_to.t ........... ok t/14_gulp.t ......... ok t/15_Buffy.t ........ ok t/16_astride.t ...... ok t/17_Orange.t ....... ok t/18_sky.t .......... ok t/19_surrounds.t .... ok

What? I'm the only one using that convention? Really?

Seeing it again after so many years, it's looking a bit dated, composed during the early Perl 6 era, and heavily influenced by London.pm culture I see. Probably should compose a new one.


In reply to Re^4: Stupidest Prime Number detector ever!! [*.t naming convention] by eyepopslikeamosquito
in thread Stupidest Prime Number detector ever!! by Anonymous Monk

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.