Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Behavior-driven testing

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lasse.
Gongrats on the new book.
Does your book cover "Behavior-driven testing"?
Thanks.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is behavior driven testing ?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check JBehave
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I presume you meant Behavior-Driven Development (BDD)?

To put it short, to me BDD is "TDD done right." It's based on the idea that you should be specifying desired behavior of objects rather than focusing on, for example, implementation details such as objects' internal state. Also, BDD puts a lot of focus in the kinds of terminology you use, trying to bring the specifications (tests) closer to the business domain in their vocabulary.

These are all things I consider being part of TDD when it's applied well.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, I'm personally more in favor of JDave than JBehave as my chosen "BDD framework." I don't use it much yet, however, as I find myself quite satisfied with JUnit 4.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I presume you meant Behavior-Driven Development (BDD)?

Well, yes.
Sorry for this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic