Chapter 2Test Smells

About This Chapter

Chapter 1, A Brief Tour, provided a very quick introduction to the core patterns and smells covered in this book. This chapter provides a more detailed examination of the "test smells" we are likely to encounter on our projects. We explore the basic concept of test smells first, and then move on to investigate the smells in three broad categories: test code smells, automated test behavior smells, and project smells related to automated testing.

An Introduction to Test Smells

In his book Refactoring: Improving the Design of Existing Code, Martin Fowler documented a number of ways that the design of code can be changed without actually changing what the code does. The motivation for this refactoring was the ...

Get xUnit Test Patterns: Refactoring Test Code now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.