Skip to content

Latest commit

 

History

History
72 lines (51 loc) · 3 KB

README.md

File metadata and controls

72 lines (51 loc) · 3 KB

JavaScript NodeJS Cucumber Selenium Jenkins LinkedIn

Cucumber Selenium Testing

Behavior driven development (BDD) approach to write automation test scripts to test web applications using Javascript, Selenium and Cucumber.

Built With

Project Architecture

cucumber-selenium-testing/
  ├── features
  ├── page_objects
  ├── reports
  ├── step_definitions
  ├── support

Continuous Integration and Delivery

It was used on Jenkins to build the CI\CD pipeline.

┌──────────────────────────────────Test─────────────────────────────────────┐

══════════════⦿══════════════⦿══════════════⦿══════════════⦿══════════════
           Checkout         Build           Test           Report

Getting Started

1. Install Dependencies

$ npm install

2. Run Tests

$ npm test -- -t @tag

Design Patterns

This project uses the design patterns from Airbnb JavaScript Style Guide.

Behavior-Driven Development (BDD)

Using declarative ways of writing code allows learning to be fast and cohesive. This helps to organize the tests and more easily understand possible issues. Because of this, Cucumber.js was chosen to provide among other functionality the structures for the BDD.

Links