2.1.0
Release overview
♨️ Check out the highlights on our blog!
- New HTML and JUnit reporters
- New test filtering with
grep
andskip
- Improved functional test performance
- Improved proxy performance and functionality
- Updated to Leadfoot 1.1
- Updated to Dig Dug 1.1
- Bug fixes
Special thanks to @Blasz, @dennisreimann, @devpaul, @itorrey, @jason0x43, @klipstein, @kriszyp, @liucougar, @msssk, @neonstalwart, and @vladikoff for their code contributions!
Additional thanks to @facildelembrar, @Flowkap, @hustcer, @phated, @sbrunot, @Shurakai, @spotnape, and @steveoh for submitting tickets that were addressed in this release!
Extra special thanks to @vladikoff for presenting Intern at this year’s jQuery Conference in Chicago! If you are planning on presenting Intern at an event, please let us know and we’ll send you a bunch of cool stickers of the Intern intern to give away!
Backwards-incompatible changes
- In Intern 2.0, the
remote.moveMouseTo
command was broken and always moved the mouse globally instead of relative to the last found element. Intern 2.1 corrects this regression, so this function now works the same as it did in Intern 1.x. (#240) - Reporting of unhandled rejected promises created by Intern (
this.async
, and other internal parts) has been enabled in the non-Geezer edition. This may cause additional console messages to be written if rejected promises are created without any error handlers.
Enhancements
- A new HTML reporter that displays a summary of a test run has been added to
client.html
as a default reporter. (#103, #194) - A new JUnit XML reporter has been added. This reporter can be used with Jenkins/Hudson to enable test drill-down via the GUI. (#193, #102)
- Tests can now be filtered by ID using a
grep
regular expression. This property can be specified in an Intern configuration file or as a flag on the command-line. (#195) - Tests can now be programmatically skipped by calling
this.skip(reason)
from a test. (#195) functionalSuites
can now be specified on the command-line. (#220, #225, #123)- The unit test system is now bypassed entirely if there are no unit tests and only functional tests, which improves the performance of server-side app testing and allows functional tests to be executed even when the instrumenting proxy is inaccessible. (#241)
- Reporting of unhandled rejected promises created by Intern (
this.async
, and other internal parts) has been enabled in the non-Geezer edition. This should reduce confusion - A new
Suite#timeElapsed
property has been added for learning the total time it takes a suite to execute, including all setup and teardown functions. (d278328) - The
intern/main.mode
property is now available from configuration files. (#263) - It is now possible to reverse-proxy to Intern from a subdirectory. (#250, #251)
- Proxy performance has been improved by disabling the Nagle delay. (#235)
- All fatal errors are now reported by the console reporter. (#213)
- Additional enhancements in Leadfoot 1.1
- Additional enhancements in Dig Dug 1.1
Bug fixes
- Fixed code instrumentation when running Node.js on Windows. (#255)
- Fixed loading CommonJS modules when using the Geezer edition with RequireJS. (#246)
- Additional bug fixes in Leadfoot 1.1
- Additional bug fixes in Dig Dug 1.1
Install from npm
Regular edition
|
or |
Geezer edition
|