-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new workspaces for tests for different integrations #trivial #377
Conversation
target 'ASDKListKitTests' do | ||
pod 'Texture/IGListKit', :path => '..' | ||
pod 'IGListKit', :git => 'https://github.com/Instagram/IGListKit', :commit => '357a28e' | ||
pod 'JGMethodSwizzler', :git => 'https://github.com/JonasGessner/JGMethodSwizzler', :branch => 'master' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to SubspecWorkspaces/ASDKListKit/Podfile
require 'fileutils' | ||
#TODO CocoaPods plugin instead? | ||
post_install do |installer| | ||
require 'fileutils' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the post_install hook isn't associated with the target (i.e. you can only have one per file,) moved this to root.
debugDescription = [node debugDescription]; | ||
dispatch_group_leave(g); | ||
}]; | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
detachNewThreadWithBlock:
is iOS10-only. I don't suspect we'll run our tests against iOS 8/9 too too much, but this was the only divergence so let's keep the option open.
|
||
#import <XCTest/XCTestAssertionsImpl.h> | ||
|
||
#define ASXCTAssertEqualSizes(s0, s1, ...) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File was duplicated before. Now it, and all other Common test files, are referenced by the Subspec workspaces but stored in a common place.
886a0ac
to
6253acb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet!
The first chunk of work toward having tests for the upcoming Diffing subspec. We need to have a (relatively) scalable way to add unit tests that apply to Texture+Integration environments.