Created
November 27, 2013 10:25
-
-
Save x2on/7673574 to your computer and use it in GitHub Desktop.
ios-snapshot-test-case-as24
This file contains hidden or 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
Pod::Spec.new do |s| | |
s.name = "FBSnapshotTestCase" | |
s.version = "1.0-1as24" | |
s.summary = "Snapshot view unit tests for iOS" | |
s.description = <<-DESC | |
A "snapshot test case" takes a configured UIView or CALayer | |
and uses the renderInContext: method to get an image snapshot | |
of its contents. It compares this snapshot to a "reference image" | |
stored in your source code repository and fails the test if the | |
two images don't match. | |
DESC | |
s.homepage = "https://github.com/facebook/ios-snapshot-test-case" | |
s.license = 'BSD' | |
s.author = 'Facebook' | |
s.source = { :git => "https://github.com/AutoScout24/ios-snapshot-test-case.git", | |
:commit => '12938e46cf71ac6b5165fef846045164bb2f744e' } | |
s.platform = :ios, '6.0' | |
s.requires_arc = true | |
s.framework = 'XCTest' | |
s.source_files = 'FBSnapshotTestCase.*', 'FBTestSnapshotController.*' | |
fb_def = 'FB_REFERENCE_IMAGE_DIR' | |
fb_val = '"$(SOURCE_ROOT)/$(PROJECT_NAME)Tests/ReferenceImages"' | |
s.prefix_header_contents = "#define #{fb_def} = #{fb_val}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment