Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
You can easily test your Objective-C classes (first consult "Loading Objective C Frameworks and Bundles") with MacBacon, RSpec, minitest, or another test framework.
Here is an example using MacBacon.
First, install MacBacon.
$ sudo macgem install mac_bacon
Second, write a test case.
# test_spec.rb require 'OSInfo' # Loads your library describe 'OSInfo.version' do it 'should return an Integer' do OSInfo.version.should.kind_of(Integer) end end
Third, run the test.
$ macbacon test_spec.rb OSInfo.version - should return an Integer 1 specifications (1 requirements), 0 failures, 0 errors
If you'd like to test UI, AXElements might help you.