@cucumber/cucumber
Advanced tools
Changelog
[8.0.0-rc.2] - 2022-01-10
import { version } from '@cucumber/cucumber'
(#1866 #1853)@cucumber/ci-environment
library for CI detection (#1868)package.json
can be imported by consuming projects (#1870 #1869)colors
to 1.4.0
to fix security vulnerability (#1884)cli-table3
to 0.6.1
to fix security vulnerability (#251)Changelog
[8.0.0-rc.1] - 2021-10-19
wrapPromiseWithTimeout
to public API (#1566)BeforeStep
and AfterStep
hook functions now have access to the pickleStep
in their argument object--config
option to the CLI. It allows you to specify a configuration file other than cucumber.js
(see documentation) #1794.
(#1640)file://
URL--dry-run
, undefined or ambiguous steps no longer cause the process to exit with code 1 (#1814)--help
command, it now shows all available formatters under the --format
option #1798--retryTagFilter
option (the correct option is --retry-tag-filter
) (#1713)--predictable-ids
option (was only used for internal testing)Changelog
[7.3.1] - 2021-07-20
setDefinitionFunctionWrapper
and step definition option wrapperOptions
Changelog
[7.3.0] - 2021-06-17
testCase
messages now emitted upfront at the start of the run (relevant for formatter authors) (#1408
#1669)this
now has correct TypeScript type in support code functions (#1667 #1690)uri
s
(#1534
#1672)Changelog
[7.1.0] - 2021-04-06
this.attach(base64String, 'base64:image/png')
(#1552)'skipped'
(#1542)long
package (cucumber#1313)react
etc (cucumber#1308)Changelog
[7.0.0] - 2020-12-21
html
formatter for rich HTML reports output as a standalone page (#1432)BeforeStep
and AfterStep
hooks (#1416)Changelog
[7.0.0-rc.0] - 2020-09-14
--publish
option to publish reports to reports.cucumber.io #1423, #1424transpose
method to data table interfacelog
function to world, providing a shorthand to log plain text as attachment(s)@types/cucumber
in TypeScript projectscucumber
to @cucumber/cucumber
- require
/import
statements must be changed from cucumber
to @cucumber/cucumber
TableDefinition
to DataTable
event-protocol
formatter has been removed and replaced with message
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
--format=./relpath/to/formatter
). Previously this was always loaded as a file relative to the current directory.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.--retry-tag-filter
CLI argument