- No products in the cart.
— EBook in PDF Format — Will be Available Instantly after Successful Payment.
Test-driven, test-first, and test-early development practices are helping thousands of software development organizations improve their software. Now, in Quality Code: Software Testing Principles, Practices, and Patterns, Stephen Vance builds on all that’s been learned about test-driven development, helping you achieve unprecedented levels of first-time quality. Using real-world code examples, this guide introduces patterns, principles, and more than two dozen detailed techniques for testing any software system more fully, effectively, and painlessly. Vance presents a conceptual framework to help you focus your efforts and design recommendations for improving testability across the software lifecycle, and also provides hands-on guidance to simplify testing of the full spectrum of code constructs. You’ll learn how to choose the best testing techniques for every situation, from the most common scenarios to threading.
* Simplify unit testing of all your code–and improve integration and system testing
* Delineate intent and implementation to promote more reliable and scalable testing
* Overcome confusion and misunderstandings about the mechanics of writing tests
* Test “side effects,” behavioral characteristics, and contextual constraints
* Understand subtle interactions between design and testability–and make them work for, not against, you
* Discover core principles that guide your key testing decisions
* Explore testing getters/setters, string handling, encapsulation, override variations, visibility, singleton patterns, error conditions, and more
* Reproduce and test complex race conditions deterministically