intern-cucumber
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

intern-cucumber

cucumber-js interface for intern

See https://theintern.io/docs.html#Intern/4 for details on how to start testing with Intern.

Quickstart

Install intern and intern-cucumber

npm install --save-dev intern intern-cucumber

Add the plugin to your intern.json:

    "browser": {
        "plugins": {
            "node_modules/intern-cucumber/browser/plugin.js"
        }
    }
    "node": {
        "plugins": {
            "node_modules/intern-cucumber/plugin.js"
        }
    }

Load the interface and write tests:

    const { registerCucumber, Given, When, Then } = intern.getInterface('cucumber');

    registerCucumber(<name>, <featureSource>, <support functions>);

See https://github.com/rhpijnacker/intern-cucumber-examples for more examples

Readme

Keywords

Package Sidebar

Install

npm i intern-cucumber

Weekly Downloads

0

Version

1.1.2

License

BSD-3-Clause

Unpacked Size

4.35 MB

Total Files

9

Last publish

Collaborators

  • rhp