Automation Testing using BrowserStack, Selenide API, Cucumber and Allure reports
Behavior Driven Development (BDD) approach to write automation test scripts.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Git - Getting Started - Installing Git
Maven - Maven in 5 Minutes
git clone https://github.com/Pavelya/Selenide-cucumber-allure-reports-java.git
cd to project path
mvn clean install test -U -DuseBS=true -Denv=prod -Dbs_local=false -Ddevice=OS_X_Mojave_Safari "-Dcucumber.options=--tags @google --plugin io.qameta.allure.cucumberjvm.AllureCucumberJvm"
mvn clean install test -U "-Dcucumber.options=--tags @google --plugin io.qameta.allure.cucumberjvm.AllureCucumberJvm"
Parameters usage
Variable | Description | Example | Default |
---|---|---|---|
useBS | Launch test using BrowserStack | true |
false |
bs_local | Use BrowsserStack local config | true |
true |
device | Specify BrowserStack device | iPhone_XS |
N/A |
env | Environment config to be used | dev |
prod |
Run [src/test/java/com/qa/automation/BaseTest.java](src/test/java/com/qa/automation/BaseTest.java) as maven test
- Launch options
- Pass external parameters to test
- Use allure reports
- Bug template
- Feature request template
- Browserstack - Cloud web and mobile testing platform
- Selenium - Portable framework for testing web applications
- Selenide - Framework for test automation powered by Selenium WebDriver
- Maven - Dependency Management
- Cucumber - Behavior Driven Development (BDD) library
- Allure reports - Framework designed to create test execution reports
- Owner API - Java properties management
Please read CONTRIBUTING.md for details of the process for submitting pull requests.
SemVer is in use for versioning.
Pavel Yampolsky - Skype: pavel.yampolsky.willhill Email: [email protected]
This project is licensed under the MIT License - see the LICENSE.md file for details
Huge kudos to wonderful software that allowed to create this project: