The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
BDD isn't worth it

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bryan Liles

Posts: 228
Nickname: bryanl
Registered: May, 2008

Bryan Liles is the Principal Web Developer for Sourcefire, Inc.
BDD isn't worth it Posted: Apr 27, 2009 8:16 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Bryan Liles.
Original Post: BDD isn't worth it
Feed Title: Smarticus
Feed URL: http://smartic.us/feed/atom.xml
Feed Description: Ramblings of a ruby hacker
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Bryan Liles
Latest Posts From Smarticus

Advertisement

Catching up with the latest RailsCast, I came across the following comment:

Railscasts - More on Cucumber.png

At first, this comment seems valid, as Cucumber is pretty wordy. And if you already know your requirements, why would you write it down? Of course. It is all so simple.

TDD is great. I’m a huge proponent. But TDD alone doesn’t get me in the right mindset. What I need is BDD. I need to describe the behavior rather than just write tests. As you see, it is all semantics. In my honest opinion, if you are doing it right, TDD == BDD. When you try to extract the differences, I feel like you are grasping for straws and not trying to achieve the real goal — Describing your code through defined behaviors.

So call it BDD or call it TDD. Just make sure you doing it first, and make sure you are defining contexts, and make sure you are actually describing behavior rather than code.

Read: BDD isn't worth it

Topic: Ruby 1.9 Compatibility for Ri_Cal, What It Took, and Some Side Thoughts Previous Topic   Next Topic Topic: Machine Tagging With Delicious

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use