Archive for May, 2011

  • BEGIN {RS=

    SC2011: Lean code solution in awk

    BEGIN {RS=",|\n"} /Apples|Pommes|Mele/{total+=100; apples++; if (apples%4==0) total-=100;} /Pommes/{pommes++; if (pommes%3==0) total-=100; } /Mele/{mele++; if (mele%2==0) total-=50;} /Cherries/{total+=75; cherries++; if (cherries%2==0) total-=20;} /Bananas/{total+=150; bananas++; if (bananas%2==0) total-=150;} //{fruit++; if (fruit%5==0) total-=200;} END{print total;}

    Continue Reading...

  • Alister Scott wrote a really nice paper on designing good specifications with examples/bdd scenarios/acceptance tests – focused on Cucumber, but applicable to other tools as well. He captured how to evolve horrible scripts into something quite useful. I strongly recommend reading it, especially if you’re working with UI tests. Now...

    Designing good Cucumber feature files

    Alister Scott wrote a really nice paper on designing good specifications with examples/bdd scenarios/acceptance tests – focused on Cucumber, but applicable to other tools as well. He captured how to evolve horrible scripts into something quite useful. I strongly recommend reading it, especially if you’re working with UI tests. Now...

    Continue Reading...

  • Lisa Crispin’s talk on defect management techniques for agile teams stirred some emotions at StarEast in early May. The idea that a team might not necessarily need a tool to track defects was, it seems, pure heresy. Luckily there were no calls to burn the witch, but many people at...

    Bug statistics are a waste of time

    Lisa Crispin’s talk on defect management techniques for agile teams stirred some emotions at StarEast in early May. The idea that a team might not necessarily need a tool to track defects was, it seems, pure heresy. Luckily there were no calls to burn the witch, but many people at...

    Continue Reading...

  • At the StarEast conference in Orlando earlier this month, Kristan Vingrys, global test practice lead at Thoughtworks, presented an experience report on setting up a build pipeline in an environment with multiple development streams, 3rd party delivery teams and a mix of legacy mainframe and new code. Here are some...

    Setting up a build pipeline in a legacy environment

    At the StarEast conference in Orlando earlier this month, Kristan Vingrys, global test practice lead at Thoughtworks, presented an experience report on setting up a build pipeline in an environment with multiple development streams, 3rd party delivery teams and a mix of legacy mainframe and new code. Here are some...

    Continue Reading...

  • I’ve been ranting, writing and teaching about the danger of using scripts as specifications for a while. This is one of the top reasons why teams fail with specification by example. I’m by no means the first or the only one to warn about this. Ward Cunningham and Rick Mugridge...

    A fresh perspective on the specification/script problem

    I’ve been ranting, writing and teaching about the danger of using scripts as specifications for a while. This is one of the top reasons why teams fail with specification by example. I’m by no means the first or the only one to warn about this. Ward Cunningham and Rick Mugridge...

    Continue Reading...