Cucumber.js v7.0.0 Release Notes

Release Date: 2020-12-21 // over 3 years ago
  • ➕ Added

    • ➕ Add a built in html formatter for rich HTML reports output as a standalone page (#1432)
    • ➕ Add support for BeforeStep and AfterStep hooks (#1416)
    • Custom formatters can now be resolved by a module name (as well as by a relative path), enabling use of Yarn PnP (#1413)

    ✂ Removed

    • 👌 Support for running Cucumber in web browsers has been removed (#1508). This feature was increasingly difficult to support and seldom used. Node.js will now be the only support runtime for Cucumber itself; of course as before you can still use tools like WebDriver and Puppeteer to instrument testing of browser-based software. See the discussion in #1437 for more about why this change is happening.

    🛠 Fixed