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

BDD In Action: BDD and TDD

 
Kevin Florish
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John and good luck with the book.

I must admit that I have never heard of BDD development before reading the introduction to your book.

Do you see BDD as a long term replacement for TDD or do you see both design methods working for a particular business model but with differing baseline approaches.

Thanks Kevin.
 
John Smart
Author
Ranch Hand
Posts: 43
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kevin. I think BDD at the code level is certainly the natural evolution of TDD - it is like traditional TDD, but done in a more expressive manner. A lot of experienced TDD practitioners do this anyway (e.g. Uncle Bob Martin), but BDD really brings this focus on the idea of TDD as a design and documentation practice out into the open, and provides tooling to make it easier. In fact many newer languages (e.g. Scala and the newer Javascript frameworks) have default unit testing libraries that are BDD-focused.
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Smart wrote: In fact many newer languages (e.g. Scala and the newer Javascript frameworks) have default unit testing libraries that are BDD-focused.

That's very interesting. I didn't realize that BDD had made such headway.
Thanks for the good news,
Burk
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic