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.
[vimeo 12551173 480 270]