v4.0.0-alpha.5 (Apr 4, 2021)
Pre-release
Pre-release
connectdotz
released this
05 Apr 21:05
·
187 commits
to master
since this release
Summary
This release packed a lot of changes that should complete the main v4 (#576) features we aim to deliver :
- introduced an "interactive-mode" to allow more granular control in when and what tests should be run, in addition to the current default "watch-mode" that relies on the watchman, a.k.a
jest --watch
. (see how to trigger the test run) - introduced a "Setup Wizard" to help people configure the essential settings for this extension if needed. (Setup Wizard)
- new commands are added for wizard and interactive-mode. (Commands)
- a new context menu is added for the non-watch mode to trigger the test run on-demand. (Menu)
- new status bar to show more detailed stats (Status Bar)
- introduced new settings autoRun to support the new runner model, which should eventually replace many other settings marked "deprecated" (Settings)
Detail see CHANGELOG
Migration Guide (rollup)
- migrating to new setting
jest.autoRun
: while the settings are completely backward compatible, it is recommended to migrate to the new setting and stop using the deprecated ones sooner than later. - migrating to
jest.jestCommandLine
, which replacesjest.pathToJest
,jest.pathToConfig
(v4.0.0-alpha.3) - (required) upgrade jest >= 26.5.0 for parametized tests (v4.0.0-alpha.3)
Contributors 🙏
How to test
you can manually install the plugin by downloading the vscode-jest-4.0.0-alpha.5.vsix
below, then follow the vscode instruction: install from vsix. You can always revert to the official version if needed: install-previous-versions.
Due to the scope of the changes, we would really love to have as many people testing it as possible. Please do not hesitate to ask questions or raise issues, we can fast-track them much easier in the alpha stage. You have probably also noticed that we have made significant changes in README, please let us know if you have any suggestion to make it more useful for the community.