Starter Step

Archive for the ‘Testing’ Category

UIScript

Posted by: Brian Knorr on: August 9, 2009

I have just added simple scripting support to UISpec. It allows you to send a String as a script and have it run dynamically. This really opens up the possibility of using UISpec with other languages like Ruby, Java, etc. The following is taken from the documentation found here. UIScript’s goal is to provide a [...]

UISpec “redo” Feature

Posted by: Brian Knorr on: August 4, 2009

Over the weekend I did some work on UISpec…mostly getting the “redo” feature working.  Redo let’s you rerun a chained set of queries that will return a result based on what is on the screen right now.  Internally the redo feature is being used for traversals and filtering, and I thought it might come in [...]

Traversal API Changes in UISpec

Posted by: Brian Knorr on: August 4, 2009

Over the weekend I made some small changes to the way traversals work in UISpec. As a result the following method names have changed: descendants is now descendant parents is now parent children is now child Calling these methods return exactly what you would except them to. The method parent finds the parent view, child [...]

Recordable: Dynamic NSInvocation

Posted by: Brian Knorr on: March 26, 2009

For UISpec I needed a an easy way to create and cache a method call on an object. I know that NSInvocation is the class to go with, but it’s very cumbersome to create and use. Luckily I found the blog post Callable Objects in Cocoa, which pointed me in the right direction, so I [...]

Tags: ,

UISpec for iPhone Development

Posted by: Brian Knorr on: March 17, 2009

We are getting close to releasing our new open source behavior driven development framwork for the iPhone called UISpec. It is modeled after RSpec for Ruby, but is optimized for Objective-C programming with UIKit. We have the new google code site up which you can check out here. More to come soon.


Follow

Get every new post delivered to your Inbox.