With new insights around Specification Driven Design I aim to help you get closer to that elusive state that artists express when sometimes the code seem to almost be writing itself.
is as you would expect it to fail, based on the test logic. If the test is failing for some other reason, that is not expected per the test logic, then it is still red.
allowed to write any production code unless it is to make a failing unit test pass 2. You are not allowed to write any more of a unit test than is sufficient to fail 3. You are not allowed to write any more production code than is sufficient to pass the one failing unit test
numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz”
that change the structure of code without changing it’s behavior. Transformations are simple operations that change the behavior of code. Transformations can be used as the sole means for passing the currently failing test in the red/green/refactor cycle. —‘Uncle Bob’ Martin
ordering, which if maintained, by the ordering of the tests, will prevent impasses, or long outages in the red/green/refactor cycle. —‘Uncle Bob’ Martin
numbers from 100 to 1. But for multiples of four print "Ducky" instead of the number and for the multiples of seven print "Fuzz". For numbers which are multiples of both four and seven print "FuzzyDucky” This time use the Transformation Priorities and the other rules to guide every design decision
Corey Haines Roman Numerals Kata http://programmingtour.blogspot.com.au/2012/12/roman-numerals-kata- with-commentary.html Extending Red, Green, Refactor with Expected http://richiekhoo.com/post/49820134249/extending-red-green-refactor-with- expected