arcgis-maps-sdk-swift-toolkit icon indicating copy to clipboard operation
arcgis-maps-sdk-swift-toolkit copied to clipboard

Mocking strategy for Unit Tests

Open mhdostal opened this issue 4 years ago • 1 comments
trafficstars

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

mhdostal avatar Nov 17 '21 21:11 mhdostal

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.

dfeinzimer avatar Apr 13 '24 00:04 dfeinzimer