iPhone Unit? TDD?
Thank God for people like Dr Nic. I managed to test drive a simple calculator project on the iPhone using his screencast. Just a quick note if you don’t come from the Ruby camp, (you know, like you spend most of your time obsessing over the JVM and toy with Groovy on the weekends):
You’ll want to install rubigen to get his example to work.
sudo gem install rubigen
You’ll also find that since the project renaming iphoneruby doesn’t work. Instead “gem install rbiphonetest”. My only question is why doesn’t my calculator respond to the reset method after I completed the screencast walk through and added the reset method to the object?
assert_respond_to calc, :reset
fails for me! Must be another one of those iPhone/ObjC inconsistencies that I’ll learn along the way.