Skip to content

Automation Testing Using Selenide, BDD (cucumber), Browserstack and Allure reports

License

Notifications You must be signed in to change notification settings

lorenpan/Selenide-cucumber-allure-reports-java

 
 

Repository files navigation

Selenide-cucumber-allure-reports-java

GitHub issues

GitHub

GitHub followers

GitHub stars

Automation Testing using BrowserStack, Selenide API, Cucumber and Allure reports

Behavior Driven Development (BDD) approach to write automation test scripts.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Git - Getting Started - Installing Git
Maven - Maven in 5 Minutes

How to install this project

git clone https://github.com/Pavelya/Selenide-cucumber-allure-reports-java.git  

Running the tests - command line mode

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

Running the tests - from IDE

Run [src/test/java/com/qa/automation/BaseTest.java](src/test/java/com/qa/automation/BaseTest.java)  as maven test

Documentation

Built With

  • 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

Contributing

Please read CONTRIBUTING.md for details of the process for submitting pull requests.

Versioning

SemVer is in use for versioning.

Authors

Pavel Yampolsky - Skype: pavel.yampolsky.willhill Email: [email protected]

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Thanks

Huge kudos to wonderful software that allowed to create this project:

BrowserStack
Selenide
Allure
Cucumber Maven

About

Automation Testing Using Selenide, BDD (cucumber), Browserstack and Allure reports

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.8%
  • Gherkin 1.2%