Closed
Bug 642648
Opened 13 years ago
Closed 13 years ago
Test plan and harness
Categories
(Cloud Services :: Share: Firefox Client, defect)
Cloud Services
Share: Firefox Client
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: philikon, Assigned: philikon)
References
Details
(Whiteboard: [ETA 2011-03-25])
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
We don't really need unit (=xpcshell-tests) tests since pretty much all the add-on code needs XUL window stuff. If F1 was integrated into m-c, we'd be doing mochitests, otherwise we could do mozmill tests (they seem much easier to set up outside of the m-c tree). So this is blocked on the decision whether we'll continue as an add-on or not.
Summary: Unit test plan and harness → Test plan and harness
Whiteboard: [ETA 2011-03-18] → [ETA 2011-03-25]
Comment 2•13 years ago
|
||
(In reply to comment #1) > We don't really need unit (=xpcshell-tests) tests since pretty much all the > add-on code needs XUL window stuff. > > If F1 was integrated into m-c, we'd be doing mochitests, otherwise we could do > mozmill tests (they seem much easier to set up outside of the m-c tree). So > this is blocked on the decision whether we'll continue as an add-on or not. Since we have a decision to integrate, it seems like we'll be doing mochitests.
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to comment #2) > Since we have a decision to integrate, it seems like we'll be doing mochitests. Correct. I'm writing some as we speak.
Assignee | ||
Comment 4•13 years ago
|
||
Landed a first simple mochitest in https://hg.mozilla.org/users/pweitershausen_mozilla.com/fx-share/rev/482128d9c887. More to come.
Assignee | ||
Comment 5•13 years ago
|
||
Factored out some common code into head.js in https://hg.mozilla.org/users/pweitershausen_mozilla.com/fx-share/rev/a01354a1b378
Assignee | ||
Comment 6•13 years ago
|
||
Improved test sanity and reliability by having the first test in line load the panel. Then subsequent tests can rely on it being loaded. Also serves as a placeholder for bug 642671's tests: https://hg.mozilla.org/users/pweitershausen_mozilla.com/fx-share/rev/36f06378ee86
Assignee | ||
Comment 7•13 years ago
|
||
Some more browser test refactoring: https://hg.mozilla.org/users/pweitershausen_mozilla.com/fx-share/rev/0ace8e99df5d I declare this bug resolved since we have quite a few tests going now. That doesn't mean we have all the tests we need (we're still lacking tests for several post messages), it just means I that we've figured out how to write tests and have a test harness :)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•