Skip to content

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

License

Notifications You must be signed in to change notification settings

ruzeynalov/Test-Breeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 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 17 and higher (Execute java --version in command line after installation)
  • Apache Maven version: 3.9.9 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 in order to run tests
  • Execute mvn clean install -Dcucumber.filter.tags="@api" in order to run only API tests
  • Execute mvn clean install -Dcucumber.filter.tags="@ui" in order to run only UI tests
  • Supported browsers are: Chrome, ChromeHeadless(default). Pass following parameter -Dbrowser=Chrome in order to run UI tests in headed mode.
  • In order to configure number of threads when running tests in parallel mode pass -Ddataproviderthreadcount=4 argument with custom value

Reports

  • Run mvn -f acceptance-tests/pom.xml allure:serve in order to generate and open Allure report in browser
  • 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

Contributors 3

  •  
  •  
  •