{"id":671,"date":"2014-06-19T21:07:19","date_gmt":"2014-06-19T21:07:19","guid":{"rendered":"https:\/\/agilestaffordshire.org\/?p=671"},"modified":"2014-06-26T12:10:11","modified_gmt":"2014-06-26T12:10:11","slug":"june-2014-is-tdd-dead","status":"publish","type":"post","link":"https:\/\/agilestaffordshire.org\/agile\/june-2014-is-tdd-dead\/","title":{"rendered":"June 2014 – Is TDD Dead?"},"content":{"rendered":"
\"Is<\/a>

Here lies TDD…<\/p><\/div>\n

Date:\u00a0Thursday 26th June\u00a02014<\/strong>
\nTime:\u00a019<\/strong>:00<\/strong>
\nVenue:\u00a0
Staffordshire University \u2013 Stafford Campus<\/a>\u00a0(Octagon building, K102)<\/strong><\/p>\n

Fear not, TDD is not dead, although\u00a0it’s certainly been talked to death this month. This catchy title has been doing the rounds on the web recently since the Kent Beck + Martin Fowler + David Heinemeier Hansson talks<\/a>. This month we are going to take a look at\u00a0it ourselves, try out some different approaches and share our experiences.<\/p>\n

For me it all started about 2 months ago when I watched Ian Cooper’s talk on TDD, Where did\u00a0it all go wrong<\/a>. I’ve been told over and over, that\u00a0unit testing gives you the freedom to change code with the safety of\u00a0maintaining\u00a0functionality\u00a0for the customer. So\u00a0refactoring is the process of changing code without changing functionality, and those like Kent Beck would advocate your test suites allow you to safety refactor to design patterns as they emerge in the system. Yet this\u00a0video struck a chord, I struggle to refactor code without breaking tests, and so\u00a0lose confidence that the\u00a0functionality is unchanged as the tests are now different. \u00a0Ian’s\u00a0video addresses these points\u00a0by highlighting different approaches and definitions to unit testing, and asks is the way some\u00a0of use do TDD slowing us down.<\/p>\n

We are going to explore this issue by scratching an itch many of you had during last months lean coding challenge, Refactoring!\u00a0After a quick summary of Ian’s video,\u00a0we are going to pair up and\u00a0refactor\u00a0a completed C# implementation of last months Checkout Code Challenge. It will be covered by two test suites. One set focusing on implementation per method\u00a0and another suite on behaviour of the system. After an hour of coding we will break for a retrospective\u00a0to find out\u00a0how everyone’s\u00a0refactoring was influenced by the\u00a0different test suites, the advantages each way of testing has to offer and insights into TDD for agile development.<\/p>\n

As we’re going to be writing code in C#, bring your laptop with visual studio set up – Project Code on GitHub<\/a><\/p>\n

If you’re interested, please sign up on\u00a0meetup.com<\/a><\/p>\n

See you there!<\/p>\n

Jon Willis<\/p>\n","protected":false},"excerpt":{"rendered":"

Date:\u00a0Thursday 26th June\u00a02014 Time:\u00a019:00 Venue:\u00a0Staffordshire University \u2013 Stafford Campus\u00a0(Octagon building, K102) Fear not, TDD is not dead, although\u00a0it’s certainly been talked to death this month. This catchy title has been doing the rounds on the web recently since the Kent Beck + Martin Fowler + David Heinemeier Hansson talks. This month we are going to […]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[3,4,5,34,25,28,43],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4r37M-aP","_links":{"self":[{"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/posts\/671"}],"collection":[{"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/comments?post=671"}],"version-history":[{"count":6,"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/posts\/671\/revisions"}],"predecessor-version":[{"id":680,"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/posts\/671\/revisions\/680"}],"wp:attachment":[{"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/media?parent=671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/categories?post=671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agilestaffordshire.org\/wp-json\/wp\/v2\/tags?post=671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}