This repository contains the tests for the TrustWallet Android app, these tests are developed using Appium & Java
-
Install Node:
brew install node
-
Install Appium:
npm install -g appium
-
Install below 2 external dependencies on your machine:
- Java 11 (as the core programming language)
- Maven 3.8.5 (for dependency management)
- Follow this document to install Java
- Follow this document to install Maven
- Follow this document to install IntelliJ based on your OS. Community edition is good enough to work with this framework.
- Java 11 (as the core programming language)
-
To test if the setup is correct.
- Open this project from IntelliJ/Eclipse/VSCode.
Start an android emulator based on these capabilities
capabilities.setCapability("platformName", "android");
capabilities.setCapability("platformVersion", "14");
capabilities.setCapability("deviceName", "Pixel 8");
> mvn clean test -Dtests=CreateNewWalletTests
To find each test class report
- Navigate to target/surefire-reports/
To find entire suite report
- Navigate to target/emailable-report.html