https://developers.google.com/cloud-test-lab/
*You need to input your credit card info, but won't be charged unless you change the plan.
2. Create/edit .vmoptions file with this line:
here is how to find .vmoptions file. (You can make new one if not found)
(e.g.) Mac+AndroidStudio 2.0: ~/Library/Preferences/AndroidStudio2.0/studio.vmoptions
3. Download and set up a sample app (or use your own app with instrumentation tests)
You can get a sample app (notepad.zip) from the guidance page.
https://developers.google.com/cloud-test-lab/android-studio#download_and_try_a_sample_app
4. Edit configuration
Select "Edit Configurations..." from app pulldown
Create new Android Tests
Configure general info by following the guidance page.
(You need to configure it properly if you use your own app)
https://developers.google.com/cloud-test-lab/android-studio#configure_a_test_matrix_and_run_a_test
You need to connect to Google Cloud Platform after you choose a target option "Cloud Test Lab Device Matrix":
Then you can choose a project on Google Cloud Platform or create a new one from "click here" link:
As well, you can choose test devices, platforms, locales and orientations from three dots button next to Matrix configuration:
5. Run your test!
You can see progress in Run window.
Output URL link leads to Test Lab page on Google Cloud Platform where you can view test results.
Since NotePadTest contains following line, you can check screenshots from the console.
Even you can see a video for each test case!
Done! 😄
As well, I wrote Cloud Test Lab + Robotium in next post!
[Android Studio 2.0]
No comments:
Post a Comment