Mauricio Chirino

39%
Flag icon
DAMP is not a replacement for DRY; it is complementary to it. Helper methods and test infrastructure can still help make tests clearer by making them more concise, factoring out repetitive steps whose details aren’t relevant to the particular behavior being tested. The important point is that such refactoring should be done with an eye toward making tests more descriptive and meaningful, and not solely in the name of reducing repetition.
Software Engineering at Google: Lessons Learned from Programming Over Time
Rate this book
Clear rating
Open Preview