-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Swift Testing has some interesting features, like parameterized tests.
@Test("Continents mentioned in videos", arguments: [
"A Beach",
"By the Lake",
"Camping in the Woods"
])
func mentionedContinents(videoName: String) async throws {
let videoLibrary = try await VideoLibrary()
let video = try #require(await videoLibrary.video(named: videoName))
#expect(video.mentionedContinents.count <= 3)
}Migrate our plugin iOS and macOS tests from XCTest to Swift Testing, where possible. This is just to do the mechanical migration, not to actually adopt new Swift Testing features.
https://developer.apple.com/videos/play/wwdc2024/10179/
https://developer.apple.com/videos/play/wwdc2024/10195/
Available in Xcode 16. The test targets must use Swift 6.
Note: this does not require the plugin itself to adopt Swift 6, which is tracked here #150388
- camera_avfoundation
- file_selector_ios
- file_selector_macos
- google_maps_flutter_ios
- [google_sign_in] Convert iOS tests to Swift packages#10787
- image_picker_ios
- in_app_purchase_storekit
- [interactive_media_ads] Migrate XCTest to Swift Testing packages#10786
- [local_auth_darwin] Migrate XCTest to Swift Testing packages#10802
- [path_provider_foundation] Migrate XCTest to Swift Testing packages#10761
- pigeon
- [pointer_interceptor_ios] Migrate XCTest to Swift Testing packages#10762
- [quick_actions_ios] Migrate XCTest to Swift Testing packages#10767
- [shared_preferences_foundation] Migrate XCTest to Swift Testing packages#10766
- [two_dimensional_scrollables] Migrate XCTest to Swift Testing packages#10764 (tests deleted instead [two_dimensional_scrollables] Delete iOS and macOS placeholder tests packages#10801)
- [url_launcher_ios] Migrate XCTest to Swift Testing packages#10780
- [url_launcher_macos] Migrate XCTest to Swift Testing packages#10763
- video_player_avfoundation
- webview_flutter_wkwebview
EchoEllet
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team