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
- 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
- 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
- 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