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

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 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 are written using TDD only containing code that is necessary 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 for writing tests for models, view controller, and networking code.

主站蜘蛛池模板: 乌海市| 汕头市| 娄烦县| 湄潭县| 阳城县| 宁海县| 利川市| 兰考县| 肥西县| 铜鼓县| 蒙城县| 亳州市| 和平区| 江川县| 仁化县| 安徽省| 泗洪县| 英山县| 肇州县| 吐鲁番市| 民和| 汉源县| 乐清市| 武定县| 信丰县| 原平市| 横峰县| 阿图什市| 隆回县| 包头市| 新田县| 武隆县| 灵川县| 北碚区| 鸡泽县| 闽侯县| 克山县| 清远市| 罗江县| 南乐县| 岳阳县|