官术网_书友最值得收藏!

Preface

iOS projects have become bigger and more complex. Many projects have already surpassed desktop applications in their complexity. One important strategy to manage this complexity is through the use of unit tests. By writing tests, a developer can point out the intention of the code and provide a safety net against the introduction of bugs.

By writing the tests first (Test-Driven Development), the developer focuses on the problem. This way, they are forced to think about the domain and rephrase a feature request using their own understanding by writing the test. In addition to this, applications written using Test-Driven Development (TDD) only contain code that is needed to solve the problem.

As a result, the code is clearer, and the developer gains more confidence that the code actually works.

In this book, you will develop an entire iOS app using TDD. You will experience different strategies of writing tests for models, View Controller, and networking code.

主站蜘蛛池模板: 怀仁县| 合阳县| 福贡县| 扶绥县| 监利县| 安陆市| 嘉兴市| 盖州市| 荔浦县| 青岛市| 德惠市| 淮北市| 郁南县| 佳木斯市| 烟台市| 奉节县| 安化县| 栾川县| 三江| 黎川县| 铜山县| 瑞丽市| 吴江市| 凉山| 汉源县| 黔南| 昭通市| 台湾省| 上高县| 永定县| 阜城县| 阳原县| 密山市| 桦南县| 渭源县| 汤原县| 台中县| 策勒县| 舟山市| 孝昌县| 仙居县|