Regression tests on Node#410
Conversation
|
Why not just run this grunt task as part of our local development, too, though? Seems like it would be valid to run this just as often as running the PhantomJS browser-based tests in Grunt, IMHO. |
|
It would also be nice to have a configuration option here to specify the test list, rather than hard-coding them in at the end with |
|
@JamesMGreene would be great if you could put together a new PR that merges this one, #401, runs this new task as part of the default task and fixes the 12 failures. Regarding the failures: In Rhino etc. there was no |
|
@twada: You need to sign the CLA before we can work on merging this PR. Please add a comment here when you've done so. Thanks! |
|
@JamesMGreene Thanks! I signed. 👌 |
|
@twada: I'm not sure how this worked for you before as I am getting issues immediately upon hooking this up: This is due to the fact that we are only exporting |
|
@JamesMGreene that export looks like a bug introcued here: fb9ddcd#L3L2182 - based on the commit comment and the lack of node-based testing, we should just revert that. Can you take care of that? |
|
@jzaefferer: I tried that (seemed like the obvious thing to do) before I posted the comment but it seems like it is still missing some things (unless I'm missing something 😄), e.g. |
|
P.S. Figured this out... it's because our |
|
Replaced by PR #458. |
We need to test QUnit HEAD in
libdirectory every time to detect regressions immediately.First I tried to use
node-qunitfor this purpose, however node-qunit uses git-submoduled QUnit, so the QUnit object run by node-qunit is not fresh enough. It is not good for development of QUnit itself. Usingqunitnpm module does not mean testingqunitjs. So I wrote a simple grunt task to test QUnit HEAD on Node.Please note:
require('qunitjs')fails until merging #401When merging is done, running against
test/test.jsandtest/deepEqual.jsthen result is:12 failures are due to absence of browser related objects(window, document).
It would be better to use JUnitLogger reporter or TAP reporter to integarate with Jenkins.
This pull-request is related to #401 and #400