책 이미지

책 정보
· 분류 : 외국도서 > 컴퓨터 > 프로그래밍 > 일반
· ISBN : 9781493218325
· 쪽수 : 594쪽
· 출판일 : 2019-08-22
목차
... Foreword ... 23 ... Preface ... 25 ... Continuous Improvements ... 25 ... Agile Methods ... 26 ... Target Groups and Prerequisites ... 26 ... Structure of the Book ... 27 ... Information Boxes ... 30 ... Limitations ... 30 ... Acknowledgments ... 31 1 ... Introduction ... 33 1.1 ... Sustainability: Development and Maintenance with a Test Infrastructure ... 34 1.2 ... Agility: Practices of Agile Software Engineering ... 39 1.3 ... Efficiency: Compliance with Design Principles ... 40 1.4 ... Effectivity: Communication with Diagrams ... 44 1.5 ... Summary ... 46 PART I ... Building a Test Infrastructure ... 47 2 ... The Sample Application ... 49 2.1 ... Master Data Management ... 50 2.2 ... User Interface ... 52 2.3 ... Backend ... 54 2.4 ... Summary ... 56 3 ... Code-Based Test Improvement ... 57 3.1 ... Introduction to the Test Code ... 57 3.2 ... General Clean Code Principles ... 70 3.3 ... Test-Oriented Clean Code Principles ... 79 3.4 ... Summary ... 86 4 ... Design-Based Test Improvement ... 87 4.1 ... Base Classes of Test Classes ... 87 4.2 ... Usage of Help Classes by Test Classes ... 93 4.3 ... Summary ... 100 5 ... Robust Integration Test ... 103 5.1 ... Improvement Process ... 103 5.2 ... Independence of Test Methods ... 104 5.3 ... Repeatability of Test Methods ... 108 5.4 ... Summary ... 116 6 ... Minimizing Dependencies ... 117 6.1 ... Simplification of Use ... 118 6.2 ... Segregation of Use ... 125 6.3 ... Independence of Creations ... 129 6.4 ... Independence of Extensions ... 135 6.5 ... Summary ... 139 7 ... Isolated Component Test ... 141 7.1 ... Transforming the Integration Test ... 142 7.2 ... Scaling with a Test Language ... 154 7.3 ... Test-Driven Development ... 161 7.4 ... Liskov Substitution Principle ... 165 7.5 ... Summary ... 167 8 ... Redesign with Unit Tests ... 169 8.1 ... Object-Oriented API for Entities ... 171 8.2 ... Highlighting Changes as an Independent Component ... 174 8.3 ... Tests for the Highlight Changes Class ... 182 8.4 ... Summary ... 187 PART II ... Test-Oriented ABAP Design ... 189 9 ... Designing Methods ... 191 9.1 ... Rules for Implementing Methods ... 192 9.2 ... Rules for Method Signatures ... 200 9.3 ... Summary ... 213 10 ... Designing Classes ... 215 10.1 ... Creation of an Object by Its Class ... 216 10.2 ... Creation of an Object by a Factory Class ... 219 10.3 ... Types of Dependencies between Classes ... 222 10.4 ... Interfaces of a Class ... 225 10.5 ... Levels of Abstraction within a Class ... 228 10.6 ... Catalog Design Pattern ... 235 10.7 ... Cohesion ... 237 10.8 ... Summary ... 242 11 ... Designing Packages ... 245 11.1 ... Package Concept ... 245 11.2 ... Product Packages ... 251 11.3 ... Test Packages ... 253 11.4 ... Summary ... 255 12 ... Test Cases ... 257 12.1 ... Test Design ... 257 12.2 ... Test Pyramid ... 261 12.3 ... Test Coverage ... 264 12.4 ... Summary ... 266 13 ... Test Doubles ... 267 13.1 ... Advantages of Test Doubles ... 267 13.2 ... Specifying Test Doubles ... 271 13.3 ... Designing Test Doubles ... 277 13.4 ... Injecting Test Doubles ... 282 13.5 ... Summary ... 296 14 ... Global Test Doubles ... 297 14.1 ... Test Double for a Method ... 298 14.2 ... Test Double for Two Methods ... 303 14.3 ... Method Doubles and Their Combinations ... 309 14.4 ... Globalizing Test Doubles ... 316 14.5 ... Designing Global Test Doubles ... 318 14.6 ... Adapting the Design of Global Test Doubles ... 320 14.7 ... Summary ... 325 15 ... Test Classes ... 327 15.1 ... ABAP Unit Test Framework ... 327 15.2 ... Local Test Classes ... 329 15.3 ... Design Patterns for Test Classes ... 332 15.4 ... Test Class Hierarchies ... 335 15.5 ... Global Test Classes ... 339 15.6 ... Summary