• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-swift / 25375459036

05 May 2026 12:08PM UTC coverage: 80.438%. First build
25375459036

Pull #988

github

grdsdev
test(storage): add API-level tests for download() and downloadData()

DownloadSessionDelegateTests verified individual delegate callbacks
but no test exercised the full StorageFileAPI → DownloadSessionDelegate
→ StorageDownloadTask wiring. The new suite covers:

- download() delivers a file on disk with the expected contents
- download() yields a .completed event with a valid URL
- download() on network failure yields .failed(.networkError)
- download() on network failure throws from .value
- downloadData() returns the file contents as Data

MockingURLProtocol is propagated to the download URLSession by
StorageClient.init, so Mocker intercepts download tasks too.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #988: feat(storage): add TUS resumable uploads, background downloads, and multipart upload engine

832 of 1008 new or added lines in 8 files covered. (82.54%)

7825 of 9728 relevant lines covered (80.44%)

28.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.76
/Sources/Storage/StorageFileAPI.swift


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc