-
Notifications
You must be signed in to change notification settings - Fork 105
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
Upgrade qunitjs to 2.x #123
Conversation
Good start, thanks @mucaho! @leobalter should we add |
autorun is not part of QUnit 2.0. It wasn't a documented feature on 1.x as well. We discussed this on the removals for 2.0
|
@mucaho can you remove/replace any usage of |
Ok, removed However, the test reporter seems to rely on serial execution order of tests. If QUnit will call interleaved callbacks for test cases, that could mess up reporting. (Probably most noticeable with One simple approach would be to match the |
You removed the "Run tests serially, not in parallel." comment, is that where you got the idea that something is running in parallel? I'm pretty sure QUnit runs all tests in sequence, not in parallel. Or is there something else? |
QUnit 2.0.0 has been released and is up on npm now. 2.0.0 release notes |
@mucaho could you update this? |
Hi, |
@matzetronic the current version of this plugin ( As for #129, could you please provide the steps + source code to reproduce (please put them in #129) |
Hiii! I'm sorry to bother but what is the status here? |
3c1cd20
to
b286d08
Compare
Update test files to use new non-global QUnit syntax. Update bridge between this grunt plugin and phantomjs: * Remove deprecated autorun QUnit option. Update devDependency qunitjs to 2.3.0. Update Gruntfile to account for failed tests.
Updated the |
@Arkni it looks good to me. |
@mucaho And sorry for forgotten about this PR! |
@leobalter this plugin needs a major version bump now, doesn't it? |
Yes, next release should be a major version. |
yes, please |
We also need to remove this part of code |
@leobalter |
@Arkni it's not necessary for now, it's still valid to use |
OK then. I'll try to remove the lines I referenced in my previous comment #123 (comment) and do a release tomorrow (in case no one beat me to it :-) ). I'll play with it and test it on some of my projects before changing any thing in this plugin. Thanks! |
Published to npm as |
This is an in-progress implementation that fixes #122 .
QUnit.config.autorun = false
.It's not mentioned in upgrade guide, so it should continue to work.
devDependency
qunitjs
from version2.0.0-rc1
to2.3.0