tag:blogger.com,1999:blog-7821856652257554779.post2366399431407336523..comments2025-09-20T09:27:07.510+02:00Comments on Andrzej on Software: What do I gain from TDD or BDD?Andrzej Krzywdahttp://www.blogger.com/profile/06399276063142826365noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-7821856652257554779.post-25490989439526617252008-01-31T01:53:00.000+01:002008-01-31T01:53:00.000+01:00@tomfmason,Thanks for your response.I'm interested...@tomfmason,<BR/><BR/>Thanks for your response.<BR/><BR/>I'm interested in your experience with PySpec. One of the projects I'm working on is Python-based. Is it stable enough to start using it?<BR/><BR/>Did you start with BDD without actually knowing TDD?<BR/><BR/>RSpec's is easy, indeed.Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-66348245420604848792008-01-31T00:51:00.000+01:002008-01-31T00:51:00.000+01:00@andrzejI am using rspec mostly. I have also worke...@andrzej<BR/><BR/>I am using rspec mostly. I have also worked with phpspec and pyspec as well. However, I find that rspec's syntax is the easiest to work with.<BR/><BR/>When I first started the hardest part was understanding the general concept behind BDD. I was thrown into a large project with no BDD or Agile/Xp development experience.<BR/><BR/>It took me a few days and a lot of googling to understand the basic concept. The good news is that rspec's syntax is really easy to work with. Intermediate or higher level rails developers shouldn't have a problem once they get the concept behind BDD.tomfmasonhttps://www.blogger.com/profile/12698353712423508302noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-16789479559589539302008-01-30T01:00:00.000+01:002008-01-30T01:00:00.000+01:00tomfmason:Thanks for your comment.Well, it takes s...tomfmason:<BR/><BR/>Thanks for your comment.<BR/><BR/>Well, it takes some time to learn, and is not really that intuitive when you start doing TDD or BDD. This is why I meant expensive or difficult.<BR/><BR/>Actually, I think that BDD might be easier than TDD, it's usually better organized.<BR/><BR/>As for pair programming, I find it a good way of teaching people doing BDD. You have more time to explain the philosophy behind it. Also you can show many details, and the "flow" of being driven.<BR/><BR/>What framework are you using for specs? RSpec?Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-83706429032566597332008-01-29T23:45:00.000+01:002008-01-29T23:45:00.000+01:00I would have to disagree with you in that BDD is d...I would have to disagree with you in that BDD is difficult or expensive. There is a bit of a learning curve but after that it should be easy. The extra expense only comes in when working with inexperienced developers or using something like pair programming.<BR/><BR/>I write most of my specs for a user story before I write any actual spec code. This gives the team a chance to review it and make any adjustments. Applying the specs into spec code is basically a copy and paste operation after that.tomfmasonhttps://www.blogger.com/profile/12698353712423508302noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-74771831620611537532008-01-24T01:44:00.000+01:002008-01-24T01:44:00.000+01:00Just seen your blog (link from DZone), nice work! ...Just seen your blog (link from DZone), nice work! <BR/>Pozdrowka z Catford!oobloggerhttps://www.blogger.com/profile/10907168754310213146noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-57318904407474679332008-01-23T23:52:00.000+01:002008-01-23T23:52:00.000+01:00jdm:One test is better than no tests. As you say, ...jdm:<BR/><BR/>One test is better than no tests. <BR/>As you say, it gives you better feeling how it works.<BR/><BR/>bewhite:<BR/><BR/>Comparing BDD to TDD? Yeah, it might be a good post for the future. Thanks for the hint!Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-81763987660826655652008-01-23T21:17:00.000+01:002008-01-23T21:17:00.000+01:00I'm using TDD in the Rails project now but I would...I'm using TDD in the Rails project now but I would like to know more about BDD.<BR/><BR/>Can you compare these technics? When we should and when we shouldn't use each of them?<BR/><BR/>I understand that it is quite common question so maybe you can write another one post about it?bewhitehttps://www.blogger.com/profile/06812416412802138441noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-60157470018468155982008-01-23T20:06:00.000+01:002008-01-23T20:06:00.000+01:00"The good news is that you can start introducing i..."The good news is that you can start introducing it gradually."<BR/><BR/>This is the one thing nobody ever told me. The TDD/BDD mantra is 'test everything,' which is paralyzing when you sit down to start a new project. By getting at a small piece of it, it's easier to see how things should work, and then you can apply it to other areas.jdmhttps://www.blogger.com/profile/10817426735000477428noreply@blogger.com