添加单元测试
Showing
... | @@ -11,11 +11,11 @@ Pod::Spec.new do |s| | ... | @@ -11,11 +11,11 @@ Pod::Spec.new do |s| |
s.version = '0.2.8' | s.version = '0.2.8' | ||
s.summary = 'A short description of GMRouter.' | s.summary = 'A short description of GMRouter.' | ||
# This description is used to generate tags and improve search results. | # This description is used to generate tags and improve search results. | ||
# * Think: What does it do? Why did you write it? What is the focus? | # * Think: What does it do? Why did you write it? What is the focus? | ||
# * Try to keep it short, snappy and to the point. | # * Try to keep it short, snappy and to the point. | ||
# * Write the description between the DESC delimiters below. | # * Write the description between the DESC delimiters below. | ||
# * Finally, don't worry about the indent, CocoaPods strips it! | # * Finally, don't worry about the indent, CocoaPods strips it! | ||
s.description = <<-DESC | s.description = <<-DESC | ||
更美路由 | 更美路由 | ||
... | @@ -33,4 +33,10 @@ Pod::Spec.new do |s| | ... | @@ -33,4 +33,10 @@ Pod::Spec.new do |s| |
s.dependency 'MJExtension' | s.dependency 'MJExtension' | ||
s.dependency 'GMPhobos' | s.dependency 'GMPhobos' | ||
s.test_spec 'GMRouterTests' do |test_spec| | |||
test_spec.source_files = 'Tests/*.{h,m}' | |||
test_spec.dependency 'OCMock' # This dependency will only be linked with your tests. | |||
end | |||
end | end |
Please
register
or
sign in
to comment