Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

initial import of OCMockito

  • Loading branch information...
commit ece0cf1535dd48d5419f6dc565fefcb6ea5ae7d6 1 parent f93d714
Jens Nerup authored

Showing 1 changed file with 27 additions and 0 deletions. Show diff stats Hide diff stats

  1. +27 0 OCMockito/0.22/OCMockito.podspec
27 OCMockito/0.22/OCMockito.podspec
... ... @@ -0,0 +1,27 @@
  1 +Pod::Spec.new do |s|
  2 + s.name = 'OCMockito'
  3 + s.version = '0.22'
  4 + s.summary = 'OCMockito is an Objective-C implementation of Mockito, supporting creation, verification and stubbing of mock objects.'
  5 + s.description = %{
  6 + OCMockito is an Objective-C implementation of Mockito, supporting creation,
  7 + verification and stubbing of mock objects.
  8 +
  9 + Key differences from other mocking frameworks:
  10 +
  11 + * Mock objects are always "nice," recording their calls instead of
  12 + throwing exceptions about unspecified invocations. This makes tests less fragile.
  13 + * No expect-run-verify, making tests more readable. Mock objects
  14 + record their calls, then you verify the methods you want.
  15 + * Verification failures are reported as unit test failures,
  16 + identifying specific lines instead of throwing exceptions. This makes
  17 + it easier to identify failures. (It also keeps the pre-iOS 5 Simulator from crashing.)
  18 + }
  19 + s.homepage = 'https://github.com/jonreid/OCMockito'
  20 + s.license = 'BSD'
  21 + s.author = { 'Jon Reid' => 'jon@qualitycoding.org' }
  22 + s.source = { :git => 'https://github.com/jonreid/OCMockito.git', :tag => 'V0.22' }
  23 + s.source_files = 'Source/OCMockito/OCMockito.h', 'Source/OCMockito/**/*.{h,m,mm}'
  24 + s.preserve_paths = "Examples", "Documentation", "Source/Tests", "Source/TestSupport"
  25 + s.ios.library = 'stdc++'
  26 + s.dependency 'OCHamcrest', '~> 1.7'
  27 +end

0 comments on commit ece0cf1

Please sign in to comment.
Something went wrong with that request. Please try again.