Firebase Test Lab 將於 2027 年 9 月 30 日關閉,Android 開發者可考慮哪些替代方案?
Firebase Test Lab Shutdown: Alternatives for Android Devs
Firebase Test Lab 將於 2027 年 9 月 30 日全面關閉,Google Cloud 的 Developer Device Platform(DDP)是替代方案,Android 開發者亦可選用其他雲端真機測試平台。
If you open the Firebase Test Lab docs now, a banner greets you: Test Lab is deprecated and will be fully shut down on September 30, 2027. For many indie Android developers it was the free, easy way to run an app on real phones before release, so the news raises two questions fast.
What should you move to? And does any of this change how you pass Google Play's closed testing? Here are the answers, with the dates from Google's own migration pages.
New to the rule? Start with the full guide: 12 testers for 14 days on Google Play, step by step.
Key dates for the Firebase Test Lab shutdown
Google's migration page says Test Lab will be fully shut down as of September 30, 2027, and the FAQ adds that you won't be able to run any workflows after that date. Until then, test runs keep working.
The replacement is Developer Device Platform (DDP) on Google Cloud. According to the FAQ, DDP matches Test Lab rates through April 30, 2027, then moves to pay-per-use and per-device slot subscription pricing. It requires a project with billing enabled. Google's pages don't mention a free tier, so plan as if there isn't one.
A timeline: Firebase Test Lab deprecated now, Developer Device Platform in Preview, Test Lab pricing kept until April 30 2027, then pay-per-use and device slot pricing, full Test Lab shutdown on September 30 2027
The dates from Google's migration pages. Free to use with a link back.
What Developer Device Platform changes
Google describes DDP as a managed device farm made of Device Run, the Device Streaming API, agent skills and a Device Catalog. It is in Preview under pre-GA terms with limited support, so expect changes.
For automated tests, the Preview supports Android instrumentation tests and iOS XCTest. Google's migration pages don't mention Robo tests or game loop tests, so if you relied on Robo crawling your app with no test code, check the DDP docs before you count on it.
The command line moves too. gcloud firebase test android run --type=instrumentation becomes gcloud beta device-run sessions submit instrumentation, and the --app and --additional-apks flags merge into --apps. Google also notes a longer three-hour shard timeout, compared with 45 minutes in Test Lab.
Firebase Test Lab alternatives
If you want to leave Google's tools, the usual device farm alternatives are AWS Device Farm, BrowserStack App Automate, Sauce Labs Real Device Cloud, Kobiton and TestMu AI (formerly LambdaTest). They all run your app on real devices in the cloud. They differ mostly in how they charge: by device minute, by parallel slot or by plan.
For a solo developer, the choice usually comes down to two questions. Do you have instrumentation or Appium tests already? Then pick a farm that runs your framework. Do you have no test code at all? Then a paid farm adds little, and a few real people using the app every day will catch more of what matters.
Can a device farm replace closed testing?
No. This is the part that trips people up. Google Play's requirement for new personal developer accounts is about people: at least 12 testers opted in to your closed test for 14 days in a row before you can apply for production. Testers opt in with their own Google accounts.
A device farm runs your build on machines. Nobody opts in, nobody installs from the Play Store link, and nobody uses the app the way a person does. As far as Google's help pages describe it, automated runs don't count toward the 12, whether they come from Test Lab, DDP or any third-party farm.
The two do different jobs. Automated tests catch crashes on devices you don't own. Closed testing proves real people used the app and gives you feedback Google asks about in the production application.
A comparison table of automated device testing and Google Play closed testing: who runs it, what it catches, whether it counts toward 12 testers, cost and what Google asks about it
Automated device tests and closed testing do different jobs. You need closed testing either way.
What about the pre-launch report?
Play Console's pre-launch report also runs your app on real devices when you upload to a testing track. Google's Test Lab migration pages don't say whether the shutdown affects it. Keep an eye on the Play Console help pages, and don't plan your release around it changing until Google says so.
A simple plan for indie developers
If you have instrumentation tests in Test Lab, try them on DDP while pricing still matches, and decide before April 30, 2027 whether the new pricing works for you or another farm fits better. If you only used Robo or occasional manual runs, you can wait and watch the DDP docs.
Either way, closed testing stays the gate to production. If you still need 12 testers for 14 days, PeerPlay is a free Android app where developers test each other's apps, so you can find your testers while you test theirs.
來源:DEV Community · dev.to