Behavior driven development (BDD) approach to write automation test scripts to test web applications using Javascript, Selenium and Cucumber.
cucumber-selenium-testing/
├── features
├── page_objects
├── reports
├── step_definitions
├── support
It was used on Jenkins to build the CI\CD pipeline.
┌──────────────────────────────────Test─────────────────────────────────────┐
══════════════⦿══════════════⦿══════════════⦿══════════════⦿══════════════
Checkout Build Test Report
1. Install Dependencies
$ npm install
2. Run Tests
$ npm test -- -t @tag
This project uses the design patterns from Airbnb JavaScript Style Guide.
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.