Closed Bug 642648 Opened 13 years ago Closed 13 years ago

Test plan and harness

Categories

(Cloud Services :: Share: Firefox Client, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philikon, Assigned: philikon)

References

Details

(Whiteboard: [ETA 2011-03-25])

      No description provided.
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]
(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.
(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.
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
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
Blocks: 651668
You need to log in before you can comment on or make changes to this bug.