Does the javascript test runner need attention?

96 views
Skip to first unread message

Josh Smeaton

unread,
Aug 25, 2016, 9:31:08 AM8/25/16
to Django developers (Contributions to Django itself)
Hi All,

While building out a vagrant image for running django's tests (plug: https://github.com/django/django-box) I came across a problem trying to run the javascript tests as defined by the tox.ini file. It ended up being the same problem as raised in https://code.djangoproject.com/ticket/25803. The fix to that ticket was to update the package.json dependencies listing npm as < 3.0.0, but I'm wondering if there's a longer term solution we're going to need to look at.

https://github.com/ModelN/grunt-blanket-qunit appears to be abandoned and is probably the main cause of us requiring npm version 2. Maybe we could look at separate packages for generating code coverage and running qunit tests? Does that sound right? I'm happy to open a ticket to track this, but just wanted to see if it's needed or already on someones radar.

Cheers

Tim Graham

unread,
Aug 25, 2016, 11:27:39 AM8/25/16
to Django developers (Contributions to Django itself)
Trey Hunner said [0], "Blanket and qunit are the only real requirements here. We may be able to switch away from Grunt and use those together in a more manual fashion so requirements can be upgraded easily."

[0] https://github.com/django/django/pull/4889#issuecomment-219921988

Tim Graham

unread,
Dec 19, 2016, 12:54:44 PM12/19/16
to Django developers (Contributions to Django itself)
Hopefully the situation is a bit improved after https://github.com/django/django/commit/10278885fd909085bd76ccc1690a979582455f9e

We had to make this update as the old pinned phantomjs version doesn't support SHA256 SSL certs and thus couldn't fetch https://cdnjs.cloudflare.com/ajax/libs/openlayers/2.13.1/OpenLayers.js after cloudflare updated their cert today.
Reply all
Reply to author
Forward
0 new messages