Test Driving iOS Development with Kiwi
Daniel H Steinberg
This book is available for download with Apple Books on your Mac or iOS device. Multi-touch books can be read with Apple Books on your Mac or iOS device. Books with interactive features may work best on an iOS device. Apple Books on your Mac requires OS X 10.9 or later.
This short book gets you up and running with Behavior Driven Development for iOS with Kiwi. You'll learn to write, refine, and respond to RSpec-style specifications and you'll be building better code for your iPhone and iPad apps in no time.
What's New in Version 1.1
The videos and animations have been recompressed to reduce the size of this publication.
Overall, I liked the book very much. It is a good book to read from A to Z. It is a nice first introduction to behavioral driven design. One suggestion: while the examples are clear and well explained, I would like to see some more beefier examples. With less explanation and taking bigger steps. I think the reader is ready for that at about 75% of the book
Amazing book that brings Kiwi to Life
I have long been a fan of Test Driven Development (TDD). I have used all kinds of frameworks for doing my tests and for all of them have adopted the Act, Arrange, Assert pattern. I have looked into doing Behaviour-Driven Development and like the idea, just never found a framework that I was comfortable with and could use back and forth with unit testing.
I have been using OCUnit that ships with Xcode to do my testing. I decided that I wanted to branch out. I had heard good things about Kiwi for doing BDD with iOS. I decided that I should try it out. I normally I stick to the web and spelunking, yet this time I decided to buy a book on the subject: Test Driving iOS Development with Kiwi. This book is only available from the iBooks store.
I have to say the book was worth every penny. I really thought it was a simple and easy introduction. It doesn't try and cover every nook of the framework, but it gives you enough information to get you started and how you can easily use it. It also takes advantage of the fact it works on the iPad: you get media built right into the book. Rather than just text walk throughs, you get video / slides of how to do things visually. I really love this new way of doing books.
If you have never done or looking to do testing for you application (shame on you if you don't), you should really look into this book and Kiwi.
Clear introduction to getting started with Kiwi
Daniel Steinberg is a masterful teacher, and he delivers again in this book as he always does, if you've ever seen him teach or lecture live.
Having used GHKit for testing prior, I was looking for something more BDD flavored a la popular frameworks in the Ruby world, but for my Objective-C code. But I must admit, I looked into Kiwi because Daniel is a thought leader in the Cocoa community, and if he wrote a book on the topic, it was worth investigating.
Daniel takes gradual steps to make sure no readers are left behind and at the same time, as the book progresses, he does cover more sophisticated issues like testing private methods. Using a sample project as the book progresses, you get a concrete understanding of how exactly to write tests and use Kiwi to do it.
Using Kiwi is great, because BDD is really an expressive way to structure tests, and to think.
- Category: Programming
- Published: Feb 22, 2012
- Publisher: Dim Sum Thinking, Inc
- Seller: Dim Sum Thinking, Inc
- Print Length: 120 Pages
- Language: English
- Version: 1.1