-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QUnit 3.0 Roadmap #1498
Comments
I've added:
|
Another thing, the HTML UI is currently unable to report global failures from before the first test in the UI because the I'd like to address this by having the UI initialise right away instead of waiting for |
I propose the following for QUnit 3 as well:
|
may as well add removing node14 by now, too. but anywho, reason why I came here is --- ESM. Currently, the qunit package is not valid, and rollup will error if it tries processing imports of qunit. |
@NullVoxPopuli That sounds like something we can fix in a minor release. If I understand correctly, you're looking to import Could you file a bug report with details on where it currently fails? |
sounds good: #1724 can we change the whole package to use modern JS? I see IIFE, and non-class usage when it looks like it really wants to be using classes. and for v3, can we extract non-browser utils to like a |
It will be really handy to have builtin retry as in playwright-test - https://playwright.dev/docs/test-retries |
In our usual way, QUnit 3.0 will be a trivial release that adds no features, but only removes deprecated functionality and/or changes default settings.
Users should be able to update to the latest QUnit 2.x release and get all the same new capabilities. Anything that passes on the latest QUnit 2.x without warnings must pass on QUnit 3.0. Anything we want to change in QUnit 3.0 should be deprecated or issue warnings on QUnit 2.0 so that users can gradually address these warnings, and then perform an super simple, uneventful, upgrade to QUnit 3.0.
Before QUnit 3 development starts
QUnit 3 development
Notable changes:
QUnit.load
(deprecated in Deprecate QUnit.load #1084).QUnit.onError
(deprecated in Core: Newerror
event for bailing on uncaught errors #1638).QUnit.module
(ref Detect and warn when async function is passed to module() #1600).before
from parent modules, same asbeforeEach
today (ref Share 'before' hook test environment with child module #1328).Other work:
Other ideas
qunit/
subdirectory in favour ofdist/
(ref Phase out dist/ folder in favour of qunit/ #1133). We ended up doing the reverse instead, thus not a breaking change, and already done during 2.x.step(..)
/verifySteps(..)
is surprising (and undocumented!) #1226).QUnit.module
(deprecated in Merge modules with same name (or treat as error) #1162).The text was updated successfully, but these errors were encountered: