Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@badeball/cypress-cucumber-preprocessor

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@badeball/cypress-cucumber-preprocessor - npm Package Versions

1
910

3.0.0

Diff

Changelog

Source

v13.0.0

  • Add a very rudimentary way of diagnosing validity of steps, IE. whether each step is matching one, and only one, step definition, fixes #754.

  • Remove And and But from the public API, fixes #821.

  • Output snippet suggestions upon missing step definition, fixes #799.

badeball
published 2.3.0 •

badeball
published 2.2.0 •

Changelog

Source

v12.2.0

  • Total execution time is correctly shown in HTML reports, fixes #813.

  • Validate inclusion of addCucumberPreprocessorPlugin() in setupNodeEvents(), fixes #820.

badeball
published 2.1.0 •

Changelog

Source

v12.1.0

  • Start time and execution time is shown in HTML reports, fixes #798.

  • Add current step information to window.testState, fixes #800.

badeball
published 2.0.0 •

Changelog

Source

v12.0.0

Breaking changes:

  • A minor change to step definitions has been introduced, affecting users of Cypress v10 or higher. When upgrading to v11.0.0 of the processor, users was instructed to remove certain prefixes from their step definitions. This is no longer required and said prefixes can be re-introduced when upgrading to v12.0.0 of the preprocessor. In other words, if your configuration looks like this
{
  "stepDefinitions": [
    "[filepath].{js,ts}",
    "cypress/support/step_definitions/**/*.{js,ts}"
  ]
}

.. then it should now look like this (notice the addition of cypress/e2e)

{
  "stepDefinitions": [
    "cypress/e2e/[filepath].{js,ts}",
    "cypress/support/step_definitions/**/*.{js,ts}"
  ]
}

Note: Step definitions doesn't necessarily have to be put in cypress/e2e and alongside your feature files. They can be contained in an entirely separate directory, if desired. This fixes #748.

Other changes:

  • Updated all @cucumber/* dependencies.

  • Added native support for HTML reports using @cucumber/html-formatter, fixes #780.

  • Correct an issue with non-array stepDefinitions, fixes #781.

badeball
published 1.0.0 •

Changelog

Source

v21.0.0

Breaking changes:

  • Exported member preprocessor of @badeball/cypress-cucumber-preprocessor/browserify is removed.

    • User of @badeball/cypress-cucumber-preprocessor/browserify should change their Cypress config in accordance with the related examples.
  • The executable cypress-cucumber-diagnostics has been replaced by a dryRun option, relates to #1120 and #1129.

    • This is a massive overhaul of a feature that was originally ill-thought-out. I'm curious about the reception.

Other changees:

  • Re-introduce support for Node v18, fixes #1230.

  • Generate a temporary messages report in case of JsonFormatter errors, relates to #1161.

  • Support project directories containing square brackets, EG. /home/[foo] my project/, relates to #1196.

  • Allow features in arbitrary locations, fixes #1225.

1
910
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc