Closed
Bug 628300
Opened 14 years ago
Closed 14 years ago
Put JavaScript test suite under Continuous Integration (Hudson)
Categories
(addons.mozilla.org Graveyard :: Code Quality, defect, P3)
addons.mozilla.org Graveyard
Code Quality
Tracking
(Not tracked)
RESOLVED
FIXED
6.0.4
People
(Reporter: kumar, Assigned: kumar)
Details
(Whiteboard: [qa-])
Zamboni has a small but growing test suite for JavaScript functionality. Occasionally the tests have been failing after commits that change JS logic or DOM structures that the JS logic is bound to. We need to put the tests under CI so that these failures can be caught and fixed early. Until the test suite is under CI it will be of little benefit to the health and stability of AMO's JS functionality.
Here is the CI lifecycle to aim for:
1 change is committed
2 Hudson builder pulls the change
3 The builder starts a dev server or applies the change to a running dev server
4 The builder runs nosetests --with-jstests per https://github.com/kumar303/jstestnetlib
5 This Nose plugin will work communicate with browsers and report test results using http://jstestnet.farmdev.com/ (deployed there temporarily)
This first attempt at CI integration will be experimental.
Step 3, running a dev server from Hudson, needs more thought. The dev server must have jstestnetlib installed and must have django_qunit installed via settings.
There will be additional challenges with monitoring and keeping browsers running at all times to run the tests.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → kumar.mcmillan
Updated•14 years ago
|
Priority: -- → P4
Target Milestone: --- → Q1 2011
Updated•14 years ago
|
Priority: P4 → P3
Target Milestone: Q1 2011 → 6.0.3
Updated•14 years ago
|
Target Milestone: 6.0.3 → 6.0.4
Assignee | ||
Comment 1•14 years ago
|
||
Fixed! JS coders, rejoice in your new continuous integration: https://hudson.mozilla.org/job/amo-master-js/
Please write JS tests :) It will also catch any uncaught exceptions thrown by loading your scripts.
Please also bear with me as there will most likely be some kinks to work out. I will look into them as they pop up.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Whiteboard: [qa-]
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•