# automation-testing

Automation testing is a software testing approach that uses scripts and tools to execute test cases automatically instead of manually.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Automatic Stubbing of Network Requests to Deflakify Automation Testing

DevFeed: [Automatic Stubbing of Network Requests to Deflakify Automation Testing](<https://devfeed.tech/articles/automatic-stubbing-of-network-requests-to-deflakify-automation-testing-1995.md>)

Original publisher: [Read original article](<https://developers.soundcloud.com/blog//automatic-stubbing-of-network-requests-to-de-flakify-automation-testing>)

Published: 2018-01-26T00:00:00Z

Content type: article

Language: en

Sources: [SoundCloud Backstage Blog](<https://devfeed.tech/sources/soundcloud-backstage-blog.md>)

Topics: [Testing](<https://devfeed.tech/topics/testing.md>), [automation-testing](<https://devfeed.tech/topics/automation-testing.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [API](<https://devfeed.tech/topics/api.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Extension](<https://devfeed.tech/topics/extension.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [automation-testing](<https://devfeed.tech/tags/automation-testing.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [ios](<https://devfeed.tech/tags/ios.md>), [json](<https://devfeed.tech/tags/json.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [network](<https://devfeed.tech/tags/network.md>), [testing](<https://devfeed.tech/tags/testing.md>), [ui-testing](<https://devfeed.tech/tags/ui-testing.md>), [web](<https://devfeed.tech/tags/web.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

This article explains how SoundCloud reduced flakiness in Xcode UI automation tests by automatically recording and replaying network responses. The approach isolates tests from changing live web-service data and connectivity problems by stubbing responses with JSON files, injecting the test session, and providing a lightweight recording and replay API without adding another dependency.

### Source excerpt

Apple introduced automated UI testing in Xcode 7. This was a great addition for developers because this native support promised, among other things, an improvement in the flakiness notoriously associated with automation tests. As many of us developers have experienced, tests can sometimes fail even when there has been no modification to the test or underlying feature code.