Merge pull request #1517 from mapbox/metrics-tests
refs #1491: iOS metrics testing
This commit is contained in:
committed by
Justin R. Miller
parent
523239c0e6
commit
13405479b7
37
test/ios/OHHTTPStubs/OHHTTPStubs.podspec
Normal file
37
test/ios/OHHTTPStubs/OHHTTPStubs.podspec
Normal file
@@ -0,0 +1,37 @@
|
||||
Pod::Spec.new do |s|
|
||||
|
||||
s.name = "OHHTTPStubs"
|
||||
s.version = "4.0.1"
|
||||
|
||||
s.summary = "Framework to stub your network requests like HTTP and help you write network unit tests with XCTest."
|
||||
s.description = <<-DESC.gsub(/^ +\|/,'')
|
||||
|A class to stub network requests easily:
|
||||
|
|
||||
| * Test your apps with fake network data (stubbed from file)
|
||||
| * You can also customize your response headers and status code
|
||||
| * Use customized stubs depending on the requests
|
||||
| * Use custom response time to simulate slow network.
|
||||
| * This works with any request (HTTP, HTTPS, or any protocol) sent using
|
||||
| the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)
|
||||
| * This is really useful in unit testing, when you need to test network features
|
||||
| but don't want to hit the real network and fake some response data instead.
|
||||
| * Has useful convenience methods to stub JSON content or fixture from a file
|
||||
| * Compatible with Swift
|
||||
DESC
|
||||
|
||||
s.homepage = "https://github.com/AliSoftware/OHHTTPStubs"
|
||||
s.license = "MIT"
|
||||
s.authors = { 'Olivier Halligon' => 'olivier.halligon+ae@gmail.com' }
|
||||
|
||||
s.source = { :git => "https://github.com/AliSoftware/OHHTTPStubs.git", :tag => s.version.to_s }
|
||||
|
||||
s.source_files = "OHHTTPStubs/Sources/*.{h,m}"
|
||||
s.public_header_files = "OHHTTPStubs/Sources/*.h"
|
||||
|
||||
s.frameworks = 'Foundation', 'CFNetwork'
|
||||
|
||||
s.requires_arc = true
|
||||
s.ios.deployment_target = '5.0'
|
||||
s.osx.deployment_target = '10.7'
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user