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

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.

主站蜘蛛池模板: 获嘉县| 巨鹿县| 乐东| 千阳县| 出国| 平安县| 巴中市| 周口市| 土默特右旗| 阿鲁科尔沁旗| 临朐县| 运城市| 榕江县| 台前县| 深水埗区| 海口市| 桐乡市| 靖州| 林口县| 黔江区| 唐山市| 洞口县| 伽师县| 广德县| 嘉黎县| 嘉兴市| 三河市| 雷州市| 织金县| 克拉玛依市| 江西省| 富顺县| 汉中市| 延长县| 黄龙县| 临桂县| 景洪市| 德令哈市| 柘荣县| 大厂| 永昌县|