Closed
Bug 668810
Opened 14 years ago
Closed 14 years ago
Backport assertions module to old shared modules system
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Whiteboard: [lib][testday-20110701])
Attachments
(1 file)
19.73 KB,
patch
|
gmealer
:
review+
|
Details | Diff | Splinter Review |
The assertions module I have implemented on bug 634225 needs to be backported to our old shared module system to drastically enhance the way how assertions can be used. Shouldn't be too hard.
Assignee | ||
Comment 1•14 years ago
|
||
Backport was kinda easy, I only had to strip out the throw parts. Patch upcoming.
Assignee | ||
Comment 2•14 years ago
|
||
Attachment #543449 -
Flags: review?(gmealer)
Assignee | ||
Comment 3•14 years ago
|
||
Geo, I have updated the one sessionstore test too to show-off the new feature! It works like a charm and we should use this module where-ever we can and should drop assert() completely.
Comment on attachment 543449 [details] [diff] [review]
Patch v1
r+, looks fine.
A little painful to have to do the import on assert, expect manually, but likely very worth the cost until we get the init stuff going. At least the frame code will be getting a lot of exercise :D
Attachment #543449 -
Flags: review?(gmealer) → review+
A Pivotal Tracker story has been created for this Bug: https://www.pivotaltracker.com/story/show/15283687
Assignee | ||
Comment 6•14 years ago
|
||
(In reply to comment #4)
> A little painful to have to do the import on assert, expect manually, but
> likely very worth the cost until we get the init stuff going. At least the
> frame code will be getting a lot of exercise :D
On the other side we would have to execute an init function in setupModule which would have the same costs. So there is no way around.
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/1c5e68da3df4 (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/98a2b3a3f927 (aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/996847ca5b68 (beta)
http://hg.mozilla.org/qa/mozmill-tests/rev/c7ce614d1ebf (release)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•14 years ago
|
||
Alex and Vlad, for each new test you are writing please use the new assertion methods supplied with those patches. We will come up with a documentation shortly which should make it easier for you.
FYI, https://developer.mozilla.org/en/Mozmill_Tests#Logging_Test_Results is the documentation
Assignee | ||
Updated•14 years ago
|
Component: Mozmill Tests → Mozmill Shared Modules
Assignee | ||
Updated•13 years ago
|
Component: Mozmill Shared Modules → Mozmill Tests
Assignee | ||
Updated•13 years ago
|
Whiteboard: [testday-20110701][shared module] → [lib]
Assignee | ||
Updated•13 years ago
|
Whiteboard: [lib] → [lib][testday-20110701]
Updated•6 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•