Skip to content

vaznoe/spring-boot-appium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Automation Framework

Overview

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.

Table of Contents

  1. Prerequisites
  2. Installation
  3. Project Setup
  4. Running Tests
  5. Generating Allure Reports
  6. Useful Links

Prerequisites

  • Android device or emulator
  • Internet connection for downloading dependencies

Installation

Java 11

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.

Maven

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.

Appium 2

Install Appium 2 using npm:

npm install -g appium

Verify the installation by running:

appium -v

Allure

brew install allure

Install or upgrade Allure Report

Project Setup

  1. Clone the repository:

    git clone https://github.com/vaznoe/spring-boot-appium.git
    cd spring-boot-appium
  2. Install project dependencies using Maven:

    ./mvnw clean install -DskipTests

Running Tests

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.

Generating Allure Reports

To generate and serve Allure reports, use the following command:

./mvnw io.qameta.allure:allure-maven:serve

Project Logo

Useful Links

Releases

No releases published

Packages

No packages published

Languages