Release 3.4.0
Overview
This release contains new features and a number of updates and bug fixes.
Thanks to @bryanforbes, @croes, @jacobroufa, @kitsonk, @LingSpb, @novemberborn, @rodneyrehm, and @wonnage for their contributions to this release, and to everyone else who submitted issues. We would especially like to thank MOSS for their sponsorship of the benchmarking work.
New features
- Intern has a new benchmarking mode (
- Suites can now be collapsed in the Html reporter (and are by default). (#565)
- Intern supports a new filterErrorStack config option. When this option is set to
true
, stack trace lines for non-application code will be pruned from error messages. - Intern now supports the CrossBrowserTesting cloud testing service (via Dig Dug 1.6).
- A new JsonCoverage reporter was added thout outputs Instanbul's coverage data in JSON format (versus the existing LCOV reporter). (#426)
Bug fixes
- SeleniumTunnel is now able to start Selenium 3.x. (theintern/digdug#35)
- Unit tests were updated to run properly under Windows. (#680, 681, 682)
- An IE9 rendering issue was fixed in the Html reporter. (#679)
- A new communication module was added that ensures browser-to-intern message sequence numbers are consistent (#561, #684)
- The Suite serialization process was updated to avoid a problems when
Suite#error#relatedTest
creates a circular reference (#525)
Other updates
- Various rendering improvements were made to the Html reporter. (#575, #664, #683)
- The value of
proxyUrl
is now constructed using the current value ofproxyPort
. - The test proxy now handles HEAD requests. (#663)
- Tests that use
this.remote
but aren't async (i.e., don't return a promise or callthis.async()
) will fail. (#552) - SeleniumTunnel was updated with new WebDriver and Selenium versions.
- Intern now uses
~
versions for Dig Dug and Leadfoot. - Unit tests were updated for modern browsers and Node versions.
- File changes are now detected by the test proxy, and files will be re-instrumented if updated (#625)
- Improve Suite error handling in WebDriver reporter (#561)
- Update TeamCity reporter to use test/suite name instead of ID (#652)
Development improvements
- Support
npm test
to run self-tests