BDD says that testing (disregarding semantic affections) should also be key to design.

So does TDD. It's a design activity. That's why the final step (before "repeat") in TDD is "refactor".

What I seek are perl idioms for from-scratch application design, in perl, that implement acceptance test cases.

I'm afraid I don't appreciate the difference between using existing Perl automated testing modules and techniques and idioms to write acceptance tests versus unit tests. The scope of the test and what it tests varies, but the automation and libraries and harnesses and runners and emitters don't.

The real question is "How can I express a necessary condition of the software in the terms most naturally applicable to the problem domain, not coupled to any particular low-level design of the implementation?" I believe that FIT is one approach worth your time. It's not perfect, but it's a very good way to start to consider the problem. You can, of course, do the same thing with Test::More and its ilk (though if you find yourself needing to create many mock objects to make it work, I may start to suspect you've gone into the weeds).


In reply to Re^5: Behavior Driven Development: suggested tools for perl? by chromatic
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.