What to Test and When

Now that unit testing and test-driven development have hit the mainstream, more and more companies are beginning to embrace these agile practices. What isn’t always clear is which practice is most useful in which scenario, and how alternatives like state-based testing and non-automated human-tester activities can be used most cost-effectively. …

Test-Driven Development With Refactoring

Success on an Agile project relies heavily on the people in the trenches. Developers, testers, and product managers focused together, can deliver astonishing accomplishments in a short amount of time. Extraordinary results require discipline, motivation and alignment. Test Driven Development (TDD) and Refactoring creates the momentum to help developers organically …

Eliminating Static Dependencies

Nature abhors a vacuum.  It turns out she also abhors static dependencies (I have my sources).  Static dependencies are the modern-day globals, often exposed through classes named “Helper”.  I’ve certainly been guilty of overusing static dependencies in the past, with classes like “LoggingHelper”, “SessionHelper”, “DBHelper” and so on. The problem …