This project utilizes Spring Boot 3, Java 11, Selenide with Appium 2, Maven, and Allure Report to create a comprehensive testing framework for Android applications.
- Android device or emulator
- Internet connection for downloading dependencies
Download and install Java 11 from the official Oracle website: Java 11 Download
After installation, set the JAVA_HOME
environment variable and add the Java bin
directory to your PATH
.
Download and install Maven from the official Apache Maven website: Maven Download
After installation, set the M2_HOME
environment variable and add the Maven bin
directory to your PATH
.
Install Appium 2 using npm:
npm install -g appium
Verify the installation by running:
appium -v
brew install allure
Install or upgrade Allure Report
-
Clone the repository:
git clone https://github.com/vaznoe/spring-boot-appium.git cd spring-boot-appium
-
Install project dependencies using Maven:
./mvnw clean install -DskipTests
To run tests on your Android device or emulator, use the following command:
./mvnw clean test -Ddevice.name=${input your Android device name}
Replace ${input your Android device name}
with the actual name of your Android device or emulator.
To generate and serve Allure reports, use the following command:
./mvnw io.qameta.allure:allure-maven:serve