"What have my tests been testing for the past decade, sparkly pink unicorn content?" Hilarious. Also, focused on one implementation of behavior driven design (RSpec) and not the concept itself, so maybe there is more to be said.

In reading what seem to be the most prominent articles on the subject I did not notice Ruby mentioned to any greater extent than Java, .Net, PHP or Python. But none mention Perl, and that's why I'm asking.

My (very positive) experience with testing in Perl, largely using Test::More, has encouraged me to adopt testing as key to development. BDD says that testing (disregarding semantic affections) should also be key to design. In particular, it seems that certain types of tools are useful to do the design, such as mock objects. I didn't mention Test::MockObject in my initial post, but I certainly expected that someone would. I'm... rather surprised that you didn't.

What I seek are perl idioms for from-scratch application design, in perl, that implement acceptance test cases. I can find that for other languages. What I have seen of testing in perl focuses on unit/regression testing of discrete functions. I have read much of, and appreciate greatly, what you have already contributed to that conversation. I would happily take in any thoughts you have on developing top-down in perl.


In reply to Re^4: Behavior Driven Development: suggested tools for perl? by blogical
in thread Behavior Driven Development: suggested tools for perl? by blogical

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.