Cucumber Boilerplate

screenshot of Cucumber Boilerplate

Boilerplate project to run WebdriverIO tests with Cucumber

Overview

The Cucumber Boilerplate Test is a project that allows developers to run WebdriverIO tests with Cucumber, bringing true Behavior-Driven Development (BDD) to JavaScript. It allows developers to write tests in an ordinary language, mapping it to code, and starting the test process in the early stages of product development. This project is recommended for Node version 14 or higher and requires a preconfigured Selenium Grid, preinstalled browser driver, or cloud provider account. While it works fine with NPM, using Yarn is recommended for its speed and solid dependency locking mechanism.

Features

  • Super simple setup: The Cucumber Boilerplate Test provides an easy setup process.
  • Full integration with WebdriverIO: It seamlessly integrates with WebdriverIO for efficient testing.
  • Over 150 predefined steps: It offers a wide range of predefined steps that cover almost everything you need in testing.
  • Easy integration with cloud services: The project allows easy integration with cloud services like Sauce Labs.
  • Integration of WebdriverIO's Multiremote functionality: It supports WebdriverIO's Multiremote functionality for running tests.
  • Easy to run tests in parallel: It provides the capability to run tests in parallel for faster execution.
eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.