Add Async/await tests for Functions (#8959)

This commit is contained in:
Paul Beusterien authored and GitHub committed 2021-11-12 08:21:11 -08:00
1 parent f023aa5b5c
commit d1bb76f01a
5 files changed
+247 -15

No files matched your search

+12 -1
View File
@@ -54,8 +54,19 @@ Cloud Functions for Firebase.
s.test_spec 'integration' do |int_tests|
int_tests.scheme = { :code_coverage => true }
int_tests.source_files = 'FirebaseFunctions/Tests/Integration/*.[mh]',
'FirebaseFunctions/Tests/Integration/*.plist',
'SharedTestUtilities/FIRAuthInteropFake*',
'SharedTestUtilities/FIRMessagingInteropFake*'
end
# Uncomment to use pod gen to run the Swift Integration tests. This can't be
# committed because of the dependency on the unpublished FirebaseFunctionsTestingSupport.
# Alternatively, use Swift Package Manager to run the swift integration tests locally.
#
# s.test_spec 'swift-integration' do |swift_int|
# swift_int.platforms = {:ios => '15.0', :osx => '12.0', :tvos => '15.0', :watchos => '8.0'}
# swift_int.scheme = { :code_coverage => true }
# swift_int.dependency 'FirebaseFunctionsTestingSupport'
# swift_int.source_files = 'FirebaseFunctions/Tests/SwiftIntegration/*',
# 'FirebaseTestingSupport/Functions/Sources/*'
# end
end