forked from CocoaPods/Specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jens Nerup
committed
Jul 3, 2012
1 parent
f93d714
commit ece0cf1
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |