Start reading Test-Driven iOS Development (Developer's Library) on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Test-Driven iOS Development (Developer's Library)
 
 

Test-Driven iOS Development (Developer's Library) [Kindle Edition]

Graham Lee
4.5 out of 5 stars  See all reviews (8 customer reviews)

Print List Price: £21.99
Kindle Price: £10.04 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £11.95 (54%)
* Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £10.04  
Paperback £21.99  
Kindle Summer Sale: Over 500 Books from £0.99
Have you seen the Kindle Summer Sale yet? Browse selected books from popular authors and debut novelists, including new releases and bestsellers. Learn more


Product Description

Product Description

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.


 

From the Back Cover

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.

 


 


Product details

  • Format: Kindle Edition
  • File Size: 6228 KB
  • Print Length: 256 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Addison-Wesley Professional; 1 edition (12 April 2012)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ISBN-10: 0132764059
  • ISBN-13: 978-0132764056
  • ASIN: B007RNK0W6
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (8 customer reviews)
  • Amazon Bestsellers Rank: #241,960 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Discover books, learn about writers, and more.


Customer Reviews

4.5 out of 5 stars
4.5 out of 5 stars
Most Helpful Customer Reviews
2 of 2 people found the following review helpful
2.0 out of 5 stars Book is spoiled by a lack of clarity 5 July 2012
By Sam
Format:Kindle Edition|Verified Purchase
Given the excellent reviews this book has, my complaints might only apply to the current kindle version (published April 2012). The book seems great except that it is impossible to follow the code in a live project. It feels like the text has been recently updated and pages stripped out. For example, the author often implies that a couple of new tests now pass but without us actually writing any code to pass them. I would not mind so much if the author explicitly asked us to complete the code ourselves to pass the test but he does not, so I keep being left wondering, will the code to pass the test be written later or should I do it myself or have I missed something. I'm now on chapter 8 and it is so frustrating that I will give up trying to do the project myself and just read it.
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars It does what it says on the tin 3 Aug 2012
Format:Kindle Edition
While TDD isn't exactly exciting. The author of this book has at least made it interesting. Through well referenced work and an interesting bit of sample code that goes along with the lessons to be learnt in this book, he's managed to guide you through the world of TDD on iOS wonderfully.

My only criticism is that after reading this book, due to all the references made available to you for further reading about iOS and other areas is that I fear that I will be reading more and more books for a very long time.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Finally, a book about TDD on iOS and OS X 13 Jun 2012
Format:Paperback
While I wouldn't call myself a long-time expert, I do know my way around iOS and OS X development, and have been working on my own apps for a couple of years. I've been aware of Test Driven Development (TDD) for a while, have read a number of books on the subject, and can see the benefits of approaching a project in this way. But taking that information and putting it into practice on the Apple toolkit has always proved an issue. The Apple platforms, and Objective-C in particular, are just different enough to the usual TDD environment--Ruby--to make all the other books and tutorials opaque enough that you are never sure if you are doing it `right'.

Which is where this book comes in. It doesn't rely on you knowing anything about the subject, and gently guides you through the concepts of TDD as well as detailed code-driven practice on how to do it, using the built-in Xcode facilities.

You get an introduction on how to test all the `layers' of your app, through the code Model, View and Controller, and how you approach `mocking' objects to make testing quick, easy and repeatable. That's not all it contains, of course; suffice to say, if you want to do TDD when writing code for Apple devices, you need this book.

In closing it also touches on third-party alternatives to the built-in option, but if you wanted more details on those you'd need to look elsewhere. This isn't a fault with the book, but just not what it sets out to do, which is provide a great introduction to TDD for Apple developers, or for those that already may know about and use it on other platforms, how to leverage that knowledge on iOS and Apple OS X.

I've been waiting for this book for a long, long time, and it doesn't disappoint.
Was this review helpful to you?
5.0 out of 5 stars Unique 5 May 2013
Format:Paperback|Verified Purchase
There are not other books on this topic. I like TDD and i like iOS so...i like this book. :D
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category