Tag: bdd

  • Unit tests are your specification

    Unit tests are your specification

    Recently a Schalk Cronjé forwarded me a tweet from Joshua Lewis about some unit tests he’d written. . @ysb33r I’m interested in your opinion on how expressive these tests are as documentation https://t.co/YpB1A3snUV /@DeveloperUG — Joshua Lewis (@joshilewis) December 3, 2015 I took a quick look and thought I may as well turn my comments…

  • Rolling Rocks Downhill

    Rolling Rocks Downhill

    It’s almost a year since I posted a glowing review of “The Phoenix Project” – a business novel, following in the footsteps of Goldratt’s “The Goal”, about continuous delivery. If you haven’t yet read it, then I’m going to recommend that you hold fire, and read “Rolling Rocks Downhill” by Clarke Ching instead. I should…

  • Reduce, Reuse, Recycle

    Reduce, Reuse, Recycle

    From http://kids.niehs.nih.gov/explore/reduce/: Three great ways YOU can eliminate waste and protect your environment! Waste, and how we choose to handle it, affects our world’s environment—that’s YOUR environment. The environment is everything around you including the air, water, land, plants, and man-made things. And since by now you probably know that you need a healthy environment for…

  • Half a glass

    Half a glass

    Is this glass half empty or half full? There’s normally more than one way to interpret a situation, but we often forget that the situation itself may be under our control. I often find my clients have backed themselves into a corner by accepting an overly restrictive understanding of what they’re trying to achieve. They will tell…

  • Diamond recycling (and painting yourself into a corner)

    Diamond recycling (and painting yourself into a corner)

    The post I wrote recently on recycling tests in TDD got quite a few responses. I’m going to take this opportunity to respond to some of the points that got raised. Do we really need to use the term “recycling”? The TDD cycle as popularly taught includes the instruction to “write a failing test”. The point…

  • Recycling tests in TDD

    Recycling tests in TDD

    The standard way that TDD is described is as Red-Green-Refactor: Red: write a failing test Green: get it to pass as quickly as possible Refactor: improve the design, using the tests as a safety net Repeat TL;DR; I’ve found that step 1) might be better expressed as: Red: write a failing test, or make an…

  • Using SpecFlow on Mono from the command line

    Using SpecFlow on Mono from the command line

    SpecFlow is the open source port of Cucumber for folk developing under .NET. It has been compatible with Mono (the open source, cross platform implementation of the .NET framework) for several years, but most of the documentation talks about using it from within the MonoDevelop IDE. I wanted to offer SpecFlow as one of the…

  • To TDD or not to TDD? That is not the question.

    To TDD or not to TDD? That is not the question.

    Over the past few days a TDD debate has been raging (again) in the blog-o-sphere and on Twitter. A lot of big names have been making bold statements and setting out arguments, of both the carefully constructed and the rhetorically inflammatory variety. I’m not going to revisit those arguments – go read the relevant posts,…

  • The most important change you can make to help your team succeed

    The most important change you can make to help your team succeed

    How busy are you? Are you close to a deadline? Is the team feeling pressure? Every team I visit seems to be under the same heavy workload, and consequently has a lot of improvements to the process, the environment, the technology that they can’t quite get to yet. They know they need to get to them,…

  • 5 rules of continuous delivery

    5 rules of continuous delivery

    Inspired by Sandi Metz’s BaRuCo 2013 presentation “Rules” (which you should watch if you haven’t yet) I started thinking about whether there were some  rules that might be useful in the continuous delivery domain to “screen for cooperative types”. I came up with these as a starting point: Check in everything – we’re used to…