in reply to Behavior Driven Development: suggested tools for perl?

I use Perl's 21 year old testing tools, plus Test::More, Test::Class, and a few others.

  • Comment on Re: Behavior Driven Development: suggested tools for perl?

Replies are listed 'Best First'.
Re^2: Behavior Driven Development: suggested tools for perl?
by Bloodnok (Vicar) on Mar 13, 2009 at 22:46 UTC
    Hmmm, if you weren't so modest chromatic, I'm sure you would have mentioned your many & varied, extremely illuminating and enlightening writings on the topic...

    :-D

    Update

    Many thanx to chromatic for pointing out the ambiguity in my post - to disambiguate, I was, in actual fact, referring to the volume of work on testing - having never heard of BDD, I'm in no position to comment.

    A user level that continues to overstate my experience :-))

      I think the only thing I've ever written about BDD specifically is that it's, like many projects in the Ruby world, a copy of something well established and well understood almost everywhere else with much worse syntax, a pretentious name, and a hipper-than-thou following.

      (tongue very slightly in cheek)

        "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.