News for hackers. Stuff that matters.
Re:How to use BDD to discover value-add for your startup by ericHosick on Sunday February 20, 2011 @10:00AM (#2241975)
"BDD can make coding a far more relaxing experience" is a great point. I've written a lot of code without using BDD (before I started using BDD).

There is something very relaxing about knowing that no matter what I do to the code I know I'm not breaking the software.

It really is a liberating experience.

Re:How to use BDD to discover value-add for your startup by nborgo on Sunday February 20, 2011 @01:20PM (#2242586)
Isn't that the benefit gained from testing, rather than BDD?
Re:How to use BDD to discover value-add for your startup by ericHosick on Sunday February 20, 2011 @02:48PM (#2242803)
Sure, testing does cover some of that but it is difficult to get 100% test coverage. And the 100% coverage is the liberating aspect.

When I hear people say "We have 80% test coverage" I just shake my head. What in the heck does that mean? It means that when I make changes to system, I can still break the behavior. And it is expensive to get 100% test coverage. In a startup, I agree, in many cases it might not be worth the investment.

With BDD, it is very easy to get 100% behavioral coverage. 100% coverage means that there is no way I can break the software (the behavioral aspect). And, using off the shelf DSLs, I can often write scenarios that require me to write 0 lines of "test code". So, I get that coverage for free (which is why it can be very useful for Startups).

Of course, if someone lays out a web page which somehow hides the submit button. Well... Then I guess other tools are needed...