Skip to content

ruzeynalov/Test-Breeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This maven project contains two submodules: common/core module of test automation framework and acceptance test module

Technologies used: Spring, CucumberJVM, TestNG, Selenide, RestAssured, Allure

Table of contents

  1. Required Software and Tools & Prerequisites
  2. How to build maven projects and run all tests
  3. Reports

Required Software and Tools & Prerequisites

  • Java version: Oracle Java 11 and higher (Execute java --version in command line after installation)
  • Apache Maven version: 3.9.4 and higher (Execute mvn --version in command line after installation)
  • Allure commandline - instructions on how to install

How to build maven projects and run all tests

  • Open a terminal or command prompt
  • Go to project's root
  • Execute mvn clean install -Dapp_env=dev in order to run tests
  • Supported browsers are: Chrome(default), ChromeHeadless. Pass following parameter -Dbrowser=ChromeHeadless in oder to run UI tests in headless mode
  • In order to run tests in parallel mode set dataproviderthreadcount to value > 1 for maven-failsafe-plugin properties in pom.xml

Reports

  • Run allure generate acceptance-tests/target/allure-results --clean -o acceptance-tests/target/site
  • Allure html test report should be available under acceptance-tests/target/site

About

This is a boilerplate for versatile test automation framework created with Java, Spring, Cucumber and Allure

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published