xUnit Test Patterns: Refactoring Test Code por Gerard Meszaros

December 7, 2019

Descargue o lea el libro de xUnit Test Patterns: Refactoring Test Code de Gerard Meszaros en formato PDF y EPUB. Aquí puedes descargar cualquier libro en formato PDF o Epub gratis. Use el botón disponible en esta página para descargar o leer libros en línea.

xUnit Test Patterns: Refactoring Test Code por Gerard Meszaros
Titulo del libro : xUnit Test Patterns: Refactoring Test Code
Fecha de lanzamiento : May 1, 2007
Autor : Gerard Meszaros
Número de páginas : 883
ISBN : 0131495054
Editor : Addison-Wesley Professional

Gerard Meszaros con xUnit Test Patterns: Refactoring Test Code

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.

Visual Summary of the Pattern Language




Refactoring a Test

PART I: The Narratives
Chapter 1 A Brief Tour
Chapter 2 Test Smells
Chapter 3 Goals of Test Automation
Chapter 4 Philosophy of Test Automation
Chapter 5 Principles of Test Automation
Chapter 6 Test Automation Strategy
Chapter 7 xUnit Basics
Chapter 8 Transient Fixture Management
Chapter 9 Persistent Fixture Management
Chapter 10 Result Verification
Chapter 11 Using Test Doubles
Chapter 12 Organizing Our Tests
Chapter 13 Testing with Databases
Chapter 14 A Roadmap to Effective Test Automation
PART II: The Test Smells
Chapter 15 Code Smells
Chapter 16 Behavior Smells
Chapter 17 Project Smells
PART III: The Patterns
Chapter 18 Test Strategy Patterns
Chapter 19 xUnit Basics Patterns
Chapter 20 Fixture Setup Patterns
Chapter 21 Result Verification Patterns
Chapter 22 Fixture Teardown Patterns
Chapter 23 Test Double Patterns
Chapter 24 Test Organization Patterns
Chapter 25 Database Patterns
Chapter 26 Design-for-Testability Patterns
Chapter 27 Value Patterns
PART IV: Appendixes
Appendix A Test Refactorings
Appendix B xUnit Terminology
Appendix C xUnit Family Members
Appendix D Tools
Appendix E Goals and Principles
Appendix F Smells, Aliases, and Causes
Appendix G Patterns, Aliases, and Variations



Los más vendidos Libros El enemigo conoce el sistema: Manipulación de ideas, personas e influencias después de la economía de la atención (Sociedad) HACKING WIRELESS 101: Cómo hackear redes inalámbricas fácilmente! Clean Architecture: A Craftsman's Guide to Software Structure and Design (Robert C Martin) Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems Hacking Etico 101 - Cómo hackear profesionalmente en 21 días o menos!: 2da Edición. Revisión 2018. Introducción a las redes: Cómo funciona Internet Pentesting con Kali: Aprende a dominar la herramienta Kali de pentesting, hacking y auditorías activas de seguridad. Redes de ordenadores - Tecnologías Redes de Ordenadores - Capa de Red Linux Internals: Como funciona Linux Data Smart: Using Data Science to Transform Information into Insight (English Edition) Competing in the Age of AI: Strategy and Leadership When Algorithms and Networks Run the World Lpic-1 Certification Kit: Exam 101-500 and Exam 102-500 El enemigo conoce el sistema: Manipulación de ideas, personas e influencias después de la economía de la atención La tienda de los sueños. Jeff Bezos y la era de Amazon (Social Media) GuíaBurros Redes Locales: Todo lo que debes saber para montar una red local No me hagas pensar. Actualización (Títulos Especiales) Mastering GitLab 12: Implement DevOps culture and repository management solutions (English Edition) The Unicorn Project: A Novel about Developers, Digital Disruption, and Thriving in the Age of Data (English Edition) FUNDAMENTOS DE REDES PASO A PASO: NETWORKING FUNDAMENTALS (Actualización Constante) Prometheus: Up & Running: Infrastructure and Application Performance Monitoring DEEP LEARNING Introducción práctica con Keras (SEGUNDA PARTE) (WATCH THIS SPACE) Deep Learning with Python The Web Application Hacker's Handbook: Finding and Exploiting Security Flaws De lo peor, lo mejor: Los consejos de Auron (Fuera de Colección) CISSP: Una guía completa para principiantes sobre la seguridad de los sistemas de información (Libro En Español / CISSP Spanish Book Version) DEEP LEARNING Introducción práctica con Keras (SEGUNDA PARTE) (WATCH THIS SPACE nº 6) El pequeño libro rojo del activista en la red (Eldiario.Es Libros) 1: Mi Primer Perceptrón con Python: Analizado y Explicado con Sentido Práctico (Programando Redes Neuronales Artificiales Paso a Paso con Python) Building Microservices Mastering Blockchain: Distributed ledger technology, decentralization, and smart contracts explained, 2nd Edition Absolute FreeBSD, 3rd Edition: The Complete Guide to FreeBSD (English Edition) The Tangled Web: A Guide to Securing Modern Web Applications Silence on the Wire: A Field Guide to Passive Reconnaissance and Indirect Attacks Practical Packet Analysis, 3E: Using Wireshark to Solve Real-World Network Problems The Practice of Network Security Monitoring: Understanding Incident Detection and Response Practical Deep Learning for Cloud, Mobile, and Edge: Real-World AI & Computer-Vision Projects Using Python, Keras & TensorFlow (English Edition) The Hacker Playbook 3: Practical Guide To Penetration Testing The Elements of Computing Systems: Building a Modern Computer from First Principles (The MIT Press) Comandos comunes y básicos para Gnu/Linux y Unix Incident Management for Operations Information Security Handbook Building Microservices: Designing Fine-Grained Systems (English Edition) Growth Hacker Marketing: El futuro del Social Media y la Publicidad (Títulos Especiales) Hands-On Machine Learning with Scikit-Learn and TensorFlow Python Machine Learning: Machine Learning and Deep Learning with Python, scikit-learn, and TensorFlow, 2nd Edition CCNA Exam Questions & Answers Latest Pattern 2019: Exam Passing Assurity (English Edition) Analítica Web 2.0: El arte de analizar resultados y la ciencia de centrarse en el cliente (Sin colección) Redes de Computadoras: Sus Primeros Pasos en Cómo Funcionan las Redes y el Internet REDES CISCO. Guía de estudio para la certificación CCNA Routing y Switching. 4ª edición actualizada