public
Description: Want to write iPhone apps with unit tests? Want to write them in Ruby?
Homepage: http://groups.google.com/group/rbiphonetest
Clone URL: git://github.com/drnic/rbiphonetest.git
rbiphonetest / PostInstall.txt
100644 21 lines (13 sloc) 0.602 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
You can add Ruby-based unit tests to any iPhone/Xcode project by changing to the
project's folder in the terminal/console and running:
 
rbiphonetest .
 
This adds the test framework, a Rakefile, and an `autotest` config file.
 
You can now create testable Objective-C models/classes using the generator:
 
$ script/generate model WidgetMaker
create Classes/WidgetMaker.h
create Classes/WidgetMaker.m
create test/test_widget_maker.rb
 
To run tests you have several options:
 
1. `rake` or `rake test`
1. `autotest` (after installing the ZenTest gem)
 
Enjoy iPhone development with Ruby!