Published August 24th, 2015 Under Unit Testing | Comments Off on TDD With Refactoring Maniacs
Classic old-school TDD recommends refactoring as part of every cycle — red, green, refactor. In fact, it recommends refactoring mercilessly. Relentlessly. To succeed at classic TDD, you have to be some kind of refactoring maniac! Read more
Published January 31st, 2012 Under Unit Testing | Comments Off on Best Practices to Write First Class Unit Tests
Techniques such as Test Driven Development, and more recently, Behavior Driven Development are well known. Yet, you still hear conflicting stories about unit testing. Some claim that introducing a lot of unit tests can hamper development, or that those tests are a maintenance problem on itself. To a limited degree I agree, but isn’t that true for all software that is not been well though off? An important reason for this is that unit tests not always seen as being part of the production code. Read more
Published January 18th, 2011 Under Software Testing | Comments Off on Legacy Refactorings for Testable User Interface Code
This session gives you an idea of the kinds of design changes you need to make to improve the testability of your system through a demonstration of legacy refactoring techniques targeted at getting business logic out of UI code.
Published November 18th, 2010 Under Software Testing | Comments Off on Testing: Why Don’t We Do It Like This?
Video Producer: JRuby Conference
Published September 8th, 2010 Under Unit Testing | Comments Off on Unit Testing Legacy Code
This video shows technique to refactoring unit testing of legacy code.
Published August 31st, 2010 Under Software Testing | Comments Off on Refactoring Test Code
Badly written tests are a nightmare of many agile projects. Hard to understand and maintain test suite sometimes act as a brake on introducing changes. This presentations discuss basic techniques of refactoring test code. During live coding session you will see how to simplify non-readable tests in few simple test and, among other things, various ways of creating test data, expressing assertions and avoiding duplication in tests.
Published May 5th, 2010 Under Software Testing | Comments Off on Removing Duplication by Refactoring
This video removes the duplication in the add and subtract classes by introducing an abstract base class. The end result is a use of the template method pattern.
Video Producer: Brett L. Schuchertkeep looking »