Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
xUnit Test Patterns: Refactoring Test Code (The Addison-Wesley Signature Series)

Buy
Automated testing is a cornerstone of agile development. An effective testing strategy will deliver new functionality more aggressively, accelerate user feedback, and improve quality. However, for many developers, creating effective automated tests is a unique and unfamiliar challenge.

xUnit Test Patterns is the definitive guide to writing automated tests using xUnit, the most popular unit testing framework in use today. Agile coach and test automation expert Gerard Meszaros describes 68 proven patterns for making tests easier to write, understand, and maintain. He then shows you how to make them more robust and repeatable--and far more cost-effective.

Loaded with information, this book feels like three books in one. The first part is a detailed tutorial on test automation that covers everything from test strategy to in-depth test coding. The second part, a catalog of 18 frequently encountered "test smells," provides trouble-shooting guidelines to help you determine the root cause of problems and the most applicable patterns. The third part contains detailed descriptions of each pattern, including refactoring instructions illustrated by extensive code samples in multiple programming languages.

Topics covered include

  • Writing better tests--and writing them faster
  • The four phases of automated tests: fixture setup, exercising the system under test, result verification, and fixture teardown
  • Improving test coverage by isolating software from its environment using Test Stubs and Mock Objects
  • Designing software for greater testability
  • Using test "smells" (including code smells, behavior smells, and project smells) to spot problems and know when and how to eliminate them
  • Refactoring tests for greater simplicity, robustness, and execution speed

This book will benefit developers, managers, and testers working with any agile or conventional development process, whether doing test-driven development or writing the tests last. While the patterns and smells are especially applicable to all members of the xUnit family, they also apply to next-generation behavior-driven development frameworks such as RSpec and JBehave and to other kinds of test automation tools, including recorded test tools and data-driven test tools such as Fit and FitNesse.

About the Author

Gerard Meszaros
is Chief Scientist and Senior Consultant at ClearStream Consulting, a Calgary-based consultancy specializing in agile development. He has more than a decade of experience with automated unit testing frameworks and is a leading expert in test automation patterns, refactoring of software and tests, and design for testability.
(HTML tags aren't allowed.)

PHR / SPHR: Professional in Human Resources Certification Study Guide
PHR / SPHR: Professional in Human Resources Certification Study Guide

Updated edition of best-selling guide for PHR and SPHR candidates

The demand for qualified human resources professionals is on the rise. The new Professional in Human Resources (PHR) and Senior Professional in Human Resources (SPHR) exams from the Human Resources Certification Institute (HRCI) reflect the evolving industry...

Evolvable Machines: Theory & Practice (Studies in Fuzziness and Soft Computing)
Evolvable Machines: Theory & Practice (Studies in Fuzziness and Soft Computing)
"Evolutionary algorithms are one of the very promising developments in Computer Science that can solve difficult problems … . The presented book is an excellent example for the successful application of these methods to the Design of Machines … . A very interesting book, highly recommendable for scientists interested in evolvable...
Beginning Java 8 APIs, Extensions and Libraries: Swing, JavaFX, JavaScript, JDBC and Network Programming APIs
Beginning Java 8 APIs, Extensions and Libraries: Swing, JavaFX, JavaScript, JDBC and Network Programming APIs

Beginning Java 8 APIs, Extensions and Libraries completes the Apress learning Java journey and is a comprehensive approach to learning the Java programming language extensions and available APIs and libraries, including the new JavaFX APIs.

This book covers the key extensions of the Java programming...


The Tudors For Dummies (For Dummies (History, Biography & Politics)
The Tudors For Dummies (For Dummies (History, Biography & Politics)

This entertaining guide covers the period from 1485 to 1603, exploring the life and times of everyday people (from famine and the flu epidemic, to education, witchcraft and William Shakespeare) as well as the intrigues and scandals at court. Strap yourself in and get ready for a rollercoaster ride through the romantic and political liaisons...

How to Succeed at E-learning
How to Succeed at E-learning

A basic guide to getting the best from e-learning for medical students, teachers and all healthcare professionals

How to Succeed at e-Learning answers the needs of all healthcare professionals either starting or continuing their studies but not knowing where to begin with e-learning. It is a valuable guide...

Chemokines and Viral Infection (Current Topics in Microbiology and Immunology)
Chemokines and Viral Infection (Current Topics in Microbiology and Immunology)

Chemokines represent a family of over 40 small proteins that, for the most part, are secreted into the environment and function by binding to G protein-coupled receptors (GPCRs) that are expressed on numerous different cell types. When initially identified close to 30 years ago, these molecules were associated with various human inflammatory...

©2020 LearnIT (support@pdfchm.net) - Privacy Policy