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

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.

主站蜘蛛池模板: 泰顺县| 奈曼旗| 丹东市| 肥乡县| 涪陵区| 镇沅| 临汾市| 铜山县| 开阳县| 三河市| 大丰市| 灌南县| 平远县| 加查县| 自贡市| 贡觉县| 垦利县| 建平县| 博罗县| 金山区| 龙胜| 大理市| 获嘉县| 娄烦县| 曲麻莱县| 甘德县| 斗六市| 湖北省| 开封县| 杭锦旗| 通海县| 海盐县| 通江县| 镇江市| 五莲县| 甘洛县| 景东| 屏边| 承德市| 闵行区| 余干县|