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

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.

主站蜘蛛池模板: 井陉县| 平定县| 长武县| 玉溪市| 洪泽县| 阿克苏市| 呼伦贝尔市| 晋宁县| 阿克陶县| 聂拉木县| 红河县| 天峨县| 绥化市| 涡阳县| 拜泉县| 莱芜市| 沛县| 固阳县| 桦南县| 华亭县| 景洪市| 东港市| 广安市| 北安市| 沾益县| 武邑县| 沙河市| 灌阳县| 蛟河市| 紫阳县| 新昌县| 龙山县| 友谊县| 新宁县| 札达县| 吕梁市| 衡阳市| 兴海县| 泊头市| 上杭县| 汶川县|