Skip to content

Commit

Permalink
initial import of OCMockito
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Nerup committed Jul 3, 2012
1 parent f93d714 commit ece0cf1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions OCMockito/0.22/OCMockito.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Pod::Spec.new do |s|
s.name = 'OCMockito'
s.version = '0.22'
s.summary = 'OCMockito is an Objective-C implementation of Mockito, supporting creation, verification and stubbing of mock objects.'
s.description = %{
OCMockito is an Objective-C implementation of Mockito, supporting creation,
verification and stubbing of mock objects.
Key differences from other mocking frameworks:
* Mock objects are always "nice," recording their calls instead of
throwing exceptions about unspecified invocations. This makes tests less fragile.
* No expect-run-verify, making tests more readable. Mock objects
record their calls, then you verify the methods you want.
* Verification failures are reported as unit test failures,
identifying specific lines instead of throwing exceptions. This makes
it easier to identify failures. (It also keeps the pre-iOS 5 Simulator from crashing.)
}
s.homepage = 'https://github.com/jonreid/OCMockito'
s.license = 'BSD'
s.author = { 'Jon Reid' => 'jon@qualitycoding.org' }
s.source = { :git => 'https://github.com/jonreid/OCMockito.git', :tag => 'V0.22' }
s.source_files = 'Source/OCMockito/OCMockito.h', 'Source/OCMockito/**/*.{h,m,mm}'
s.preserve_paths = "Examples", "Documentation", "Source/Tests", "Source/TestSupport"
s.ios.library = 'stdc++'
s.dependency 'OCHamcrest', '~> 1.7'
end

0 comments on commit ece0cf1

Please sign in to comment.