Cucumber.js v6.0.0 Release Notes
Release Date: 2019-10-06 // over 4 years ago-
๐ฅ BREAKING CHANGES
- โฌ๏ธ Drop support for Node.js 6
- โก๏ธ JSON formatter has major breaking changes. 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 breaking changes to support retry
๐ Bug fixes
- โก๏ธ Prevent after hooks from updating skipped scenarios to passed
- Parallel: beforeAll / afterAll errors fail the suite
- ๐ Fix CLI help link
๐ New features
- โ Add ability to retry flaky tests
- 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 aretried
boolean to the test case result to signify if the test case was retried
- Use
- usage-json formatter: add code and patternType
- โ Add support for Node.js 12