Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/perfectomobilesa/perfectoespressoproject

A publicly available Android Sample app example project along with advanced Perfecto configuration file. It has some sample espresso tests. Kindly do not delete this as it is integrated with confluence.
https://github.com/perfectomobilesa/perfectoespressoproject

Last synced: about 6 hours ago
JSON representation

A publicly available Android Sample app example project along with advanced Perfecto configuration file. It has some sample espresso tests. Kindly do not delete this as it is integrated with confluence.

Awesome Lists containing this project

README

        

# Espresso + Perfecto execution steps:

- Clone this project and unzip it.

- Open a command-line/terminal window, navigate to the project's folder and run the following tasks in gradle to build the apk files:
`cd PerfectoEspresso`
`./gradlew assembleDebug assembleAndroidTest`

- Run the below gradle task to run Espresso tests on real devices:
`./gradlew perfecto-android-inst -PconfigFileLocation=configFile.json -PcloudURL=${url} -PsecurityToken=${securityToken}`

- Run the below gradle task to run Espresso tests on virtual devices:
`./gradlew perfecto-android-inst-vd -PconfigFileLocation=configFile.json -PcloudURL=${url} -PsecurityToken=${securityToken}`

### Note:
1. Replace ${url} with your perfecto cloud url. E.g.: demo.perfectomobile.com (without the .app notation)
2. Replace ${securityToken} with your [perfecto security token](https://help.perfecto.io/perfecto-help/content/perfecto/automation-testing/generate_security_tokens.htm?Highlight=Generate%20security%20tokens).