Esri / arcgis-maps-sdk-swift-toolkit

Mapping components that will simplify your Swift app development with the ArcGIS Maps SDK for Swift.
https://developers.arcgis.com/swift
Apache License 2.0
25 stars 7 forks source link

Mocking strategy for Unit Tests #6

Open mhdostal opened 2 years ago

mhdostal commented 2 years ago

The component unit tests need to access online resources to run. An example of this is the Search unit tests, which generate a large amount of geocoding requests. It would be good to have a way to mock these network requests in order to speed up the tests and provide a consistent test experience.

See also #86, Swift 2354

dfeinzimer commented 2 months ago

Reopening as this was going to go into 200.4 but we needed to be reverted due to #678. We'll need to come up with another strategy or wait for SPM to support Git LFS.