I do something like this in my Rakefile to get rid of all classes
containing UI references:
src_files = FileList.new('src/**/*.m') do |fl|
fl.exclude('**/*Delegate.m')
fl.exclude('**/*Controller.m')
fl.exclude('**/main.m')
end
Maybe you have to adjust the ignore settings to your needs.
On Jun 16, 6:04 pm, Paul Barry <
pauljbar...@gmail.com> wrote:
> All I did was create a blank app called Calc with X-Code, and then from in
> the project directory:
>
> $ rbiphonetest .
> $ script/generate model Calculator
> $ rake test
>
> I'm not trying to test the UIKit classes, just the Calculator model.
>