Modern QA2026Best Practices for Cloud Device Farms — tiles
Log inJoin
36 / 66 · 09 Mobile & Cross-Platform Testing · Cloud Device Farms← prev⊞ allnext →☰ Read as one page

6.6Best Practices for Cloud Device Farms

  1. Parallelize aggressively -- Cloud farms charge per device-minute. Running 10 devices in parallel for 5 minutes costs the same as 1 device for 50 minutes but finishes 10x faster.

  2. Use smart test distribution -- Not all tests need to run on all devices. Run full regression on Tier 1 devices, critical paths on Tier 2, and smoke tests on Tier 3.

  3. Cache app uploads -- Upload your app binary once per build, then reference it across all device runs.

  4. Enable video recording for failures only -- Video recording adds overhead. Enable it for debugging failed runs, not for every successful test.

  5. Set idle timeouts -- Cloud devices are billed while idle. Set aggressive timeouts (3-5 minutes) to prevent zombie sessions.

  6. Tag builds for traceability -- Include git SHA, branch name, and PR number in build tags so you can correlate test results with code changes.

build_name = f"{os.environ.get('GITHUB_SHA', 'local')[:8]}-" \
             f"{os.environ.get('GITHUB_REF_NAME', 'dev')}"

Cloud device farms are the only practical way to achieve broad device coverage for mobile applications. The upfront investment in configuration pays for itself in testing confidence and bug prevention.