|
|
@@ -87,6 +87,7 @@ Shared library for iOS SDK data transport needs.
|
|
|
|
|
|
# Unit test specs
|
|
|
s.test_spec 'Tests-Unit' do |test_spec|
|
|
|
+ test_spec.scheme = { :code_coverage => true }
|
|
|
test_spec.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
|
|
|
test_spec.requires_app_host = false
|
|
|
test_spec.source_files = ['GoogleDataTransport/GDTCORTests/Unit/**/*.{h,m}'] + common_test_sources
|
|
|
@@ -94,6 +95,7 @@ Shared library for iOS SDK data transport needs.
|
|
|
end
|
|
|
|
|
|
s.test_spec 'Tests-Lifecycle' do |test_spec|
|
|
|
+ test_spec.scheme = { :code_coverage => true }
|
|
|
test_spec.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
|
|
|
test_spec.requires_app_host = false
|
|
|
test_spec.source_files = ['GoogleDataTransport/GDTCORTests/Lifecycle/**/*.{h,m}'] + common_test_sources
|
|
|
@@ -102,6 +104,7 @@ Shared library for iOS SDK data transport needs.
|
|
|
|
|
|
# Integration test specs
|
|
|
s.test_spec 'Tests-Integration' do |test_spec|
|
|
|
+ test_spec.scheme = { :code_coverage => true }
|
|
|
test_spec.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
|
|
|
test_spec.requires_app_host = false
|
|
|
test_spec.source_files = ['GoogleDataTransport/GDTCORTests/Integration/**/*.{h,m}'] + common_test_sources
|
|
|
@@ -112,6 +115,7 @@ Shared library for iOS SDK data transport needs.
|
|
|
# Monkey test specs TODO(mikehaney24): Uncomment when travis is running >= cocoapods-1.8.0
|
|
|
if ENV['GDT_DEV'] && ENV['GDT_DEV'] == '1' then
|
|
|
s.test_spec 'Tests-Monkey' do |test_spec|
|
|
|
+ test_spec.scheme = { :code_coverage => true }
|
|
|
test_spec.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
|
|
|
test_spec.requires_app_host = true
|
|
|
test_spec.app_host_name = 'GoogleDataTransport/TestApp'
|
|
|
@@ -144,6 +148,7 @@ Shared library for iOS SDK data transport needs.
|
|
|
|
|
|
# Test specs
|
|
|
s.test_spec 'CCT-Tests-Unit' do |test_spec|
|
|
|
+ test_spec.scheme = { :code_coverage => true }
|
|
|
test_spec.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
|
|
|
test_spec.requires_app_host = false
|
|
|
test_spec.source_files = ['GoogleDataTransport/GDTCCTTests/Unit/**/*.{h,m}'] + common_cct_test_sources + common_test_sources
|
|
|
@@ -153,6 +158,7 @@ Shared library for iOS SDK data transport needs.
|
|
|
end
|
|
|
|
|
|
s.test_spec 'CCT-Tests-Integration' do |test_spec|
|
|
|
+ test_spec.scheme = { :code_coverage => true }
|
|
|
test_spec.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
|
|
|
test_spec.requires_app_host = false
|
|
|
test_spec.source_files = ['GoogleDataTransport/GDTCCTTests/Integration/**/*.{h,m}'] + common_cct_test_sources
|
|
|
@@ -163,6 +169,7 @@ Shared library for iOS SDK data transport needs.
|
|
|
# Monkey test specs, only enabled for development.
|
|
|
if ENV['GDT_DEV'] && ENV['GDT_DEV'] == '1' then
|
|
|
s.test_spec 'CCT-Tests-Monkey' do |test_spec|
|
|
|
+ test_spec.scheme = { :code_coverage => true }
|
|
|
test_spec.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
|
|
|
test_spec.requires_app_host = true
|
|
|
test_spec.app_host_name = 'GoogleDataTransport/CCTTestApp'
|