All Versions
116
Latest Version
Avg Release Cycle
36 days
Latest Release
-

Changelog History
Page 4

  • v5.0.0 Changes

    This release REPLACES PhantomJS with Headless Chrome!

    👀 > Not all features could be preserved, unfortunately (see known issues below). 🐎 > The improved compatibility, performance and debugging features make this a 🚀 > great step forward, but consider this release to be potentially immature as

    the underlying Puppeteer implementation is under heavy development. ⬆️ > Carefully test whether upgrading is acceptable for your project.

    💥 Breaking changes

    • 0️⃣ Runs Headless Chrome by default
    • 👍 Puppeteer requires Node 6, so support for Node 4 had to be dropped.
    • 🚚 PhantomJS was removed entirely and with it the --port and --phantomjs options.
    • 👀 Downloads a recent chromium version during installation. See the install instructions in the README.md if this is causing trouble.

    🆕 New features

    • --url to run tests in the context of a web page can now also be used with Headless Chrome. This was previously limited to WebDriver. Can be a file: URL.
    • --https-server launches a simple HTTPS server with a self-signed certificate and tests are run in the context of an empty page. Additional files that are requested are looked up from the current directory. This can be used to run tests in a Worker. This can be combined with --url to load a specific HTML page through the HTTPS server.
    • --debug runs the tests in a full chrome instance with developer tools. Use the debugger statement to set a breakpoint.
    • --chrome allows to specify a Chrome executable to run instead of the built-in chromium.
    • 💻 --no-commondir is now forwarded to Browserify

    Known issues

    • Page navigation is not prevented with Headless Chrome. Whether this is an issue depends on the way your test cases trigger page navigation.
    • ✅ Stack traces are missing in asynchronous test cases.
  • v4.0.0 Changes

    • ⚡️ Update Mocaccino 3 and Mocha 4 (Carl-Erik Kopseng)

      Gets rid of a Growl dependency that had a vulnerability

  • v3.3.0 Changes

    • ➕ Add support for --outfile

      This allows to send test results to a specified file for node and browser tests, e.g. mochify -R xunit --outfile xunit.xml

    • ✂ Remove "default" from dot reporter and add nyan

    • ➕ Add package-lock.json

  • v3.2.1 Changes

    • Document viewport options in help.txt (Frederik Ring)

      Adds the viewport options to the CLI help output

  • v3.2.0 Changes

    • ➕ Add option to pass viewport sizing to PhantomJS (PR #152) (Frederik Ring)

      Allows to configure the viewport width and height with the new options --viewport-width and --viewport-height.

  • v3.1.1 Changes

    • 🛠 fix behavior of --require flag (Wes)
  • v3.1.0 Changes

    • Implement --external option (Koki Takahashi)
  • v3.0.0 Changes

    • 👉 Use Mocha 3.2
    • 👉 Use Mocaccino 2
    • 💻 Use Browserify 14.1
    • ⬇️ Drop support for Node 0.10, 0.12, 5.0 and io.js and add 6.0
    • 🔄 Change default reporter to spec
    • ➕ Add new node and remove old node from travis config
    • 👉 Use @studio/changes instead of make
  • v2.19.0 Changes

    • 👌 Support passing reporterOptions to mocha reporter via API (Tomer Lahav). PR #144, fixes issue #143.
  • v2.18.1 Changes

    • 🛠 Always set process.exitCode = 1 on bundle errors. Fixes issue #109.
    • Loosen stack trace detection regexp to not require a leading "at".
    • ⬆️ Bump glob to ^7.0.
    • ➕ Add test coverage for --bundle and --consolify args (Jonny Reeves)
    • 🛠 Fix tests for new tap version that was pulled (Jarrett Cruger)