npm / testem
testem
What changed in testem 1 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-15.
9 breaking4 new APIs and options3 behavior and defaults3 tooling13 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inittestem 310 changes
Breaking changes 3
The server no longer serves sibling directories whose paths share the current working directory prefix.
busterjs support was removed.
Node 6 support was removed.
New APIs and options 1
Added socket_server_options to the config file.
Tooling 1
Added browser-relogin events.
Fixes and other changes 5
Keeps decycle from throwing on hostile objects.
Server error responses are served as text/plain.
Firefox background timers stay on the foreground floor.
Fixes loading the Headless Firefox profile.
On Windows, checks for self.process before calling kill.
testem 28 changes
Breaking changes 3
The all-test-results event no longer emits all results.
IE 8 support was removed.
Support for Node 0.10 and 0.12 was removed.
New APIs and options 1
A new format allows different browser args in different modes.
Fixes and other changes 4
Error messages are displayed correctly when a hook fails to run.
The max depth error message was improved.
Prevented leaked runners and subprocesses.
Fixed TestemConfig always being reset to {}.
testem 114 changes
Breaking changes 3
Testem now bails by default on global errors; set bail_on_uncaught_error to false to disable this behavior.
Embedded test frameworks were removed; frameworks are loaded from the internet, or you can inject your own framework to use a custom version or avoid a network dependency.
Browsers launched without protocol: browser no longer establish a WebSocket connection.
New APIs and options 2
Testem now allows using custom data directories.
Provides a way to manually hook into the test framework.
Behavior and default changes 3
css_files can now be used with framework: custom.
Notifications are supported on more operating systems.
Skipped tests are now output by the tap reporter.
Tooling 2
Linux browsers are now wrapped in dbus-launch.
Skipped tests are now output by the xunit reporter.
Fixes and other changes 4
Bail out messages are now reported in a well-formed format.
Fixed merging of config, default, and runtime options.
Fixed lazy instrumentation of mocha.
Fixed testem.restart().