"value":"\n <p>When doing test-driven development, once you've written a failing (a.k.a. red) test, the main objective is to get to a green (a.k.a. passing) test as quickly as possible via the simplest method.<\/p>\n\n<p>Even if that means returning a hard-coded value.<\/p>\n\n<p>Once the test passes, it or the code it's testing can be refactored.<\/p>\n\n<p>Or you can move on to the next test and, if you need to change the hard-coded value to get both tests to pass, then it is the right time to do so.<\/p>\n\n ",
"format":"full_html",
"processed":"\n <p>When doing test-driven development, once you've written a failing (a.k.a. red) test, the main objective is to get to a green (a.k.a. passing) test as quickly as possible via the simplest method.<\/p>\n\n<p>Even if that means returning a hard-coded value.<\/p>\n\n<p>Once the test passes, it or the code it's testing can be refactored.<\/p>\n\n<p>Or you can move on to the next test and, if you need to change the hard-coded value to get both tests to pass, then it is the right time to do so.<\/p>\n\n ",