Publicado 2018
Tabla de Contenidos:
“…Specification - storing current move -- Implementation -- Specification - error handling -- Implementation -- Specification - alternate players -- Implementation -- Exercises -- Integration tests -- Tests separation -- The integration test -- Summary -- Chapter 7: TDD and Functional Programming - A Perfect Match -- Setting up the environment -- Optional - dealing with uncertainty -- Example of Optional -- Functions revisited -- Kata - Reverse Polish Notation -- Requirements -- Requirement - handling invalid input -- Requirement - single operations -- Requirement - complex operations -- Streams -- filter -- map -- flatMap -- reduce -- Summary -- Chapter 8: BDD - Working Together with the Whole Team -- Different specifications -- Documentation -- Documentation for coders -- Documentation for non-coders -- Behavior-driven development -- Narrative -- Scenarios -- The book store BDD story -- JBehave -- JBehave runner -- Pending steps -- Selenium and Selenide -- JBehave steps -- Final validation -- Summary -- Chapter 9: Refactoring Legacy Code - Making It Young Again -- Legacy code -- Legacy code example -- Other ways to recognize legacy code -- A lack of dependency injection -- The legacy code change algorithm -- Applying the legacy code change algorithm -- Identifying change points -- Finding test
points -- Breaking dependencies -- Writing tests -- The kata exercise -- Legacy kata -- Description -- Technical comments -- Adding a new feature -- Black-box or spike testing -- Preliminary investigation -- How to find candidates for refactoring -- Introducing the new feature -- Applying the legacy code algorithm -- Writing end-to-end test cases -- Automating the test cases -- Injecting the BookRepository dependency -- Extract and override call -- Parameterizing a constructor -- Adding a new feature -- Removing the primitive obsession with status as int…”
Número de Clasificación:
Cargando…
Ubicado:
Cargando…
Libro electrónico
Cargando…