The article “Writing Testable Code” presents practices to write more testable code with many examples in java, going a step further than just TDD.
Tutorials and resources on how to apply unit testing in software testing
Over the years I have come to describe Test Driven Development in terms of three simple rules.
“Bug fixing often uncovers opportunities for refactoring. The very fact that you’re working with code that contains a bug indicates that there is a chance that it could be clearer or better structured.”
JUnit is a programmer-oriented testing framework for Java.
This article presents some of the basics for getting started with Test Driven Development (TDD) using Flash Builder 4 and FlexUnit.