Socket
Book a DemoInstallSign in
Socket

@dev-blinq/cucumber-js

Package Overview
Dependencies
Maintainers
11
Versions
380
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dev-blinq/cucumber-js

The official JavaScript implementation of Cucumber.

Source
npmnpm
Version
1.0.211-dev
Version published
Weekly downloads
4.3K
0.35%
Maintainers
11
Weekly downloads
 
Created
Source


Cucumber - Blinq.io

Cucumber.js with Blinq.io adaptation

We took the regular old Cucumber (A tool for running automated tests) and made improvements that could be helpful when working with data that should be saved or when we want to generate fake data for testing purposes in our Gherkin feature file.

Install

@dev-blinq/cucumber-js is available on npm:

$ npm install @dev-blinq/cucumber-js

Get Started

Before, we used to write Gherkin feature files like this -

Feature: Github
    Scenario Outline: Create a new repository
        Given Create a new repository name "<repo>"
        Examples:
            | repo                
            | random_repo_name

Now, instead of picking a random name by ourselfs, we could fake data using the faker library and get a random value -

Feature: Github
    Scenario Outline: Create a new repository
        Given Create a new repository name "<repo>"
        Examples:
            | repo                
            | {{string.alpha(10)}}

We could also save our fake data (or any data really) as a variable for future use using the equals (=) sign -

Feature: Github
    Scenario Outline: Create a new repository
        Given Create a new repository name "<repo>"
        Examples:
            |  repo                 
            | {{repo=string.alpha(10)}}

    Scenario Outline: Create a second repository
        Given Create a new repository with the same name as before "<repo>"
        Examples:
            |  repo                 
            | {{repo}}

In that example, we saved repo as a variable with a value of some fake data and used it again as the second repo value, both repos will have the same fake value.

Documentation

See documentation for the Blinq.io app.

Keywords

testing

FAQs

Package last updated on 01 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts