Test-Driven iOS Development 在线电子书 图书标签: iOS TDD Programming 软件开发 计算机科学 测试 Objective-C 软件测试
发表于2024-11-22
Test-Driven iOS Development 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024
写得不错... 从基础开始, 以一个简单的stackoverflow的客户端为例写了很完整的测试用例... 不过稍显啰嗦 -_- 还是觉得ghunit比较好用
评分例子测的都是不会错的,实用价值约为0
评分TDD似乎总被神话,如果单元测试需要写到连一个自己几乎能保证不出错的小功能都要写案例,那根本就达不到Driven的效果。我还是认为只有那些比较复杂易出错,跟团队交互大的代码才需要写单元测试,而这样根本就跟TDD不是一个概念。顺便吐槽下,英语太烂,看像“How Many Tests Could a Unit Test Test If a Unit Test Could Test Tests”这样的句子真费劲。
评分UT是软件工程实践的 标配 !关于Objective C/iOS的TDD主题,目前还只有这本。虽然书名中有iOS,其实测试技术是独立于iOS的(书中以iOS应用为示例)。
评分TDD似乎总被神话,如果单元测试需要写到连一个自己几乎能保证不出错的小功能都要写案例,那根本就达不到Driven的效果。我还是认为只有那些比较复杂易出错,跟团队交互大的代码才需要写单元测试,而这样根本就跟TDD不是一个概念。顺便吐槽下,英语太烂,看像“How Many Tests Could a Unit Test Test If a Unit Test Could Test Tests”这样的句子真费劲。
As iOS apps become increasingly complex and business-critical, iOS developers must ensure consistently superior code quality. This means adopting best practices for creating and testing iOS apps. Test-Driven Development (TDD) is one of the most powerful of these best practices. Test-Driven iOS Development is the first book 100% focused on helping you successfully implement TDD and unit testing in an iOS environment. Long-time iOS/Mac developer Graham Lee helps you rapidly integrate TDD into your existing processes using Apple,s Xcode 4 and the OCUnit unit testing framework. He guides you through constructing an entire Objective-C iOS app in a test-driven manner, from initial specification to functional product. Lee also introduces powerful patterns for applying TDD in iOS development, and previews powerful automated testing capabilities that will soon arrive on the iOS platform. Coverage includes * Understanding the purpose, benefits, and costs of unit testing in iOS environments * Mastering the principles of TDD, and applying them in areas from app design to refactoring * Writing usable, readable, and repeatable iOS unit tests * Using OCUnit to set up your Xcode project for TDD * Using domain analysis to identify the classes and interactions your app needs, and designing it accordingly * Considering third-party tools for iOS unit testing * Building networking code in a test-driven manner * Automating testing of view controller code that interacts with users * Designing to interfaces, not implementations * Testing concurrent code that typically runs in the background * Applying TDD to existing apps * Preparing for Behavior Driven Development (BDD) The only iOS-specific guide to TDD and unit testing, Test-Driven iOS Development covers both essential concepts and practical implementation.
评分
评分
评分
评分
Test-Driven iOS Development 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024