uLucasFraga / cocus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cocus

Automation project with Java (Language) + Gradle (Dependency) on Browser Stack (Device Farm) and Github Action (CI) doing remote mobile test, GithubPages to deploy Allure Serve to see test result, PageObject/Screen and PageFactory as a structure.

Appium Execution Allure Report

Configuration:

  • Java JDK 8 or 11
  • Android SDK updated
  • Android Emulator
  • Appium Server
  • Browser Stack Account and Keys

Running:

./gradlew test --tests "Tests"

You can run with different devices like iOS and Android using properties when running this command line:

Android:

./gradlew test --tests "Tests" -DMOBILE=ANDROID

iOS:

./gradlew test --tests "Tests" -DMOBILE=iOS

For use local user name by json or remote you can use Exec true or false:

true = execution using environment variable from secret key

./gradlew test --tests "Tests" -DMOBILE=ANDROID -DEXEC=true

false = execution using json name and key from browser stack

./gradlew test --tests "Tests" -DMOBILE=ANDROID -DEXEC=false

Github Pages with Allure report results: ALLURE

About


Languages

Language:Java 100.0%