Quality Code (eBook)
Pearson Education (Verlag)
978-0-13-301704-5 (ISBN)
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. Two complete case studies put it all together, walking you through testing a brand-new Java application and an untested 'legacy' JavaScript jQuery plugin. Whether you're developing cutting-edge code for a new start-up, or maintaining an unruly old system, this guide will help you deliver exactly what you need: quality code.
&bull, Simplify unit testing of all your code—and improve integration and system testing
&bull, Delineate intent and implementation to promote more reliable and scalable testing
&bull, Overcome confusion and misunderstandings about the mechanics of writing tests
&bull, Test 'side effects,' behavioral characteristics, and contextual constraints
&bull, Understand subtle interactions between design and testability—and make them work for, not against, you
&bull, Discover core principles that guide your key testing decisions
&bull, Explore testing getters/setters, string handling, encapsulation, override variations, visibility, singleton patterns, error conditions, and more
&bull, Reproduce and test complex race conditions deterministically
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. Two complete case studies put it all together, walking you through testing a brand-new Java application and an untested "e;legacy"e; JavaScript jQuery plugin. Whether you're developing cutting-edge code for a new start-up, or maintaining an unruly old system, this guide will help you deliver exactly what you need: quality code. * 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 "e;side effects,"e; 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
Erscheint lt. Verlag | 13.11.2013 |
---|---|
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Software Entwicklung |
ISBN-10 | 0-13-301704-4 / 0133017044 |
ISBN-13 | 978-0-13-301704-5 / 9780133017045 |
Haben Sie eine Frage zum Produkt? |
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich