简体   繁体   中英

Testing Google sign-in Android

I'm a student in Computer science. For my software engineering project, I need to implement an Android login with Google. The login implementation works fine, but I need to test the interface. I use Espresso for testing. The problem is, I really don't know how to do this. Can someone help me please ? :)

You can start with Espresso recorder , which can be found in the Android Studios:

在此处输入图片说明

After this, it will open your application and you can do your E2E (End-to-End) test to your application. After you are ready, you just save the recorder-output and you can try to run your test. Also good video here about Espresso Recorder here .

Beware with the passwords while uploading things to any Version Control .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM