Menu

1 / 6

AWS Device Farm Now Has Emulators. Your Flaky Tests Will Come With You.

DEV Community: ios·Prikshit·9 days ago
#vvrLyxMB
#devtoios#devto#dev#test#android
Long article (3065 words) — no AI summary yet.
Reading 0:00
15s threshold

Which UI Tests Belong on Emulators and Simulators, and Which Stay on Real Devices

AWS Device Farm now runs Android emulators and iOS simulators next to real devices. The announcement is clear about where it expects you to use them: virtual devices for "stages that need high speed and volume, such as pull requests, code merges, and smoke tests", real devices for "later stages that need high fidelity", meaning regression and release testing.

What the announcement can't do is make a test less flaky. A test that sleeps two seconds and hopes will sleep two seconds and hope on a virtual device.

I read the announcement and the Device Farm developer guide.

Startup time: the announcement says virtual devices on the latest OS "typically start in seconds" and others in around a minute. The developer guide is more precise. The latest OS is usually ready in under 30 seconds, other versions in about a minute.

Price: the announcement says virtual devices use "the existing metered pricing".…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.