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

cucumber

Package Overview
Dependencies
Maintainers
6
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber - npm Package Versions

23
12

6.0.7

Diff

cukebot
published 6.0.6 •

cukebot
published 7.0.0-rc.0 •

Changelog

Source

[7.0.0-rc.0] - 2020-09-14

Added

  • Add --publish option to publish reports to reports.cucumber.io #1423, #1424
  • Add support for Gherkin's Rule/Example syntax
  • Add transpose method to data table interface
  • Add log function to world, providing a shorthand to log plain text as attachment(s)
  • Now includes TypeScript type definitions, deprecating the need for @types/cucumber in TypeScript projects

Changed

  • The npm module has changed name from cucumber to @cucumber/cucumber - require/import statements must be changed from cucumber to @cucumber/cucumber
  • TypeScript users must rename TableDefinition to DataTable
  • Drop support for Node.js 8, add support for Node.js 14
  • Events are now based on cucumber-messages
  • event-protocol formatter has been removed and replaced with message
  • Formatters
  • Remove long-deprecated typeName from options object for defineParameterType in favour of name
  • CUCUMBER_TOTAL_SLAVES is now CUCUMBER_TOTAL_WORKERS
  • CUCUMBER_SLAVE_ID is now CUCUMBER_WORKER_ID
  • Parallel runtime environment variables renamed for inclusivity:
  • Custom formatters are now loaded via the regular require paths relative to the current directory, unless it begins with a dot (e.g. --format=./relpath/to/formatter). Previously this was always loaded as a file relative to the current directory.

Deprecated

  • json formatter is deprecated and will be removed in next major release. Custom formatters should migrate to use the message formatter, or the standalone JSON formatter as a stopgap.

Fixed

  • don't execute BeforeAll and AfterAll hooks when in dry-run
  • support correct case for --retry-tag-filter CLI argument
charlierudolph
published 6.0.5 •

Changelog

Source

[6.0.5] - 2019-11-13

Fixed

  • json formatter: fix duration to be nanoseconds (was femtoseconds)
charlierudolph
published 6.0.4 •

Changelog

Source

[6.0.4] - 2019-11-10

Fixed

  • retry: create a new World instance for every attempt
charlierudolph
published 6.0.3 •

Changelog

Source

[6.0.3] - 2019-10-27

Fixed

  • Revert JSON formatter changes to be backward compatible
charlierudolph
published 6.0.2 •

Changelog

Source

[6.0.2] - 2019-10-07

Fixed

  • Upgrade to cucumber-expressions 8.0.1 to fix failure on multiple installs
charlierudolph
published 6.0.1 •

Changelog

Source

[6.0.1] - 2019-10-06

Fixed

  • Release to fix missing lib
charlierudolph
published 6.0.0 •

Changelog

Source

[6.0.0] - 2019-10-06

Added

  • Use --retry <NUMBER> and limit what tests will be retried with --retryTagFilter <EXPRESSION>
  • Event-protocol added an attemptNumber to test case started, test case finished, and all test step events and a retried boolean to the test case result to signify if the test case was retried
  • Add ability to retry flaky tests
  • usage-json formatter: add code and patternType
  • Add support for Node.js 12

Changed

  • Drop support for Node.js 6
  • JSON formatter has major Changed. View some sample outputs here. The *.json.js files contain the js objects the json parses to. (UPDATE - reverted in 6.0.3)
  • Duration is now in nanoseconds in event-protocol formatter and in events sent to custom formatters
  • Custom formatters: Formatter helpers and EventDataCollector had Changed to support retry

Fixed

  • Prevent after hooks from updating skipped scenarios to passed
  • Parallel: beforeAll / afterAll errors fail the suite
  • Fix CLI help link
charlierudolph
published 5.1.0 •

Changelog

Source

[5.1.0] - 2018-12-28

Fixed

  • Upgrade to babel 7
23
12
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