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

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.

主站蜘蛛池模板: 淄博市| 沂源县| 洛川县| 顺昌县| 界首市| 岱山县| 甘南县| 晋州市| 巨鹿县| 临汾市| 邵东县| 乌兰察布市| 吉林省| 铜梁县| 大港区| 福泉市| 烟台市| 天水市| 湖南省| 公主岭市| 琼海市| 安塞县| 定西市| 绥中县| 临朐县| 龙川县| 普安县| 岑溪市| 竹溪县| 常州市| 渭南市| 横山县| 西藏| 韩城市| 恩施市| 磐安县| 保德县| 甘洛县| 确山县| 南昌县| 大厂|