SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 28 of 28
  1. #26
    SitePoint Wizard dreamscape's Avatar
    Join Date
    Aug 2005
    Posts
    1,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by lastcraft
    As this makes lower level contracts (unit tests) pretty short term and nebulous, why are we putting them on a pedestal?
    Funnily enough I feel a similar way about TDD unit tests, that they are put into (forgive the bad reference) a lock box, and it is taboo to change or remove them. This of course is not true, but it is the impression that is often given off, and it is a common pitfall among new testers.
    <.smarter.web.development.>
    PHP Stuff: Plexus | Chocolate (BDD Framework... coming soon)
    Graphite

  2. #27
    ********* Victim lastcraft's Avatar
    Join Date
    Apr 2003
    Location
    London
    Posts
    2,423
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi...

    Well, I honestly think you are making a logical unification, rather than something based on experience. You've come up with a grand plan about something that is tied to the chaotics of human psychology. My own experience is that grand plans don't work very well in programming.

    How about that for a generalisation .

    That's why I think you should gather stories about how people actually test. That more than anything will dictate the interface/language.

    On the other hand, grand plans are great for motivation and it's the motivation that will get something written and out there. In fact, forget everything I just said. It's a great idea...go for it .

    yours, Marcus
    Marcus Baker
    Testing: SimpleTest, Cgreen, Fakemail
    Other: Phemto dependency injector
    Books: PHP in Action, 97 things

  3. #28
    SitePoint Wizard dreamscape's Avatar
    Join Date
    Aug 2005
    Posts
    1,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's been some time, but I'm not sure what I was thinking about that proposal. The more I thought about it, the less and less I liked JBehave and the more I like rSpec.

    So instead of the silliness I proposed, I decided to build a BDD framework inspired by the rSpec interface.

    It's called Chocolate, and I got it up to an v1.0.0-alpha-2 state today, very close to being ready for a public beta-1.

    You can see a simple TODO over at:
    http://www.phpchocolate.com/chocolate/__TODO__

    I've got most of my initial list completed. Just a few things to do with mocks left.

    And a simple example, based on the rSpec Stack tutorial:
    HTML Report: http://www.phpchocolate.com/examples/stack/specs.php
    HTML Report (with code): http://www.phpchocolate.com/examples...php?print_code
    Text Report: http://www.phpchocolate.com/examples...php?print_text

    I hope to have a public download available with some docs within a few weeks.
    <.smarter.web.development.>
    PHP Stuff: Plexus | Chocolate (BDD Framework... coming soon)
    Graphite


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •