Coder Social home page Coder Social logo

pavelya / selenide-cucumber-allure-reports-java Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 12.0 1.88 MB

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

License: MIT License

Java 98.58% Gherkin 1.42%
selenide selenium-webdriver cucumber maven java allure-report browserstack allure-reports-selenide selenium bdd

selenide-cucumber-allure-reports-java's Introduction

Selenide-cucumber-allure-reports-java

License GitHub issues

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   

Run with BrowserStack  
mvn clean install test -U -DuseBS=true -Denv=prod -Dbs_local=false -Ddevice=OS_X_Catalina_Safari "-Dcucumber.options=--tags @google --plugin io.qameta.allure.cucumberjvm.AllureCucumberJvm"  
  
Run locally with headless browser   
mvn clean install test -U "-Dcucumber.options=--tags @google --plugin io.qameta.allure.cucumberjvm.AllureCucumberJvm" 

Run locally with UI 
mvn clean install test -U -Dheadless=false "-Dcucumber.options=--tags @google --plugin io.qameta.allure.cucumberjvm.AllureCucumberJvm" 

Run locally with mobile emulaiton
mvn clean install test -U -Dheadless=false -DmobileLocal=true "-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
headless Use headless mode true true
mobileLocal Use mobile emulation true false

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

selenide-cucumber-allure-reports-java's People

Contributors

dependabot[bot] avatar pavelya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.