ArticleS
.
TimOttinger
.
ClosingInOnTestDriven
Edit Page:
!title Closing In On Test-Driven. There are [[four stages][http://www.trainer.org.uk/members/theory/process/stages_of_learning.htm]] of learning. An uncle of mine told me about these after he'd been through rehabilitation from a brain injury. I've since found them listed in many places. With TDD, I'm feeling stage III (conscious competence) kicking in. I still have the strong instinctive pressure to go to code and fix code, then write tests to prove it's fixed. That's from past habit, and because subconsciously I ''know'' that writing the tests is more work for me than fixing the code. It's hard to maintain discipline, and I struggle with it especially on small changes. I must not be test driven yet (NTDY?) because when I go test-first, it doesn't change ''what'' I write. I've not seen super powers (or any increased productivity) yet. If I were going from "no test" to "test first" it would be a more exciting and empowering change. Instead this is like switching from diet pepsi to diet coke, except Coca-Cola doesn't require me to learn a bunch of new testing and mock frameworks. !commentForm
Hints:
Use alt+s (Windows) or control+s (Mac OS X) to save your changes. Or, tab from the text area to the "Save" button!
Grab the lower-right corner of the text area to increase its size (works with some browsers).