Want to write iPhone apps with unit tests? Want to write them in Ruby?
= rbiphonetest - Unit Test iPhone apps with Ruby
== DESCRIPTION:
Want to write iPhone apps with unit tests? Want to write them in Ruby?
== FEATURES/PROBLEMS:
Known issues:
== SYNOPSIS:
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:
rake
or rake test
autotest
(after installing the ZenTest gem)All options will re-build the Objective-C code (if necessary) before running the tests.
If using autotest, your tests will be re-run if the test files or the Objective-C files are modified.
== REQUIREMENTS:
== INSTALL:
sudo gem install rbiphonetest
From source:
git clone git://github.com/drnic/rbiphonetest.git
cd rbiphonetest
rake install_gem
== LICENSE:
(The MIT License)
Copyright (c) 2008-9 Dr Nic Williams
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.