Closed
Bug 905495
Opened 11 years ago
Closed 10 years ago
unit test infrastructure for gaia build system
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: yurenju, Assigned: gduan)
References
Details
Attachments
(1 file)
we shoud have unit test infrasture for gaia build system to help us have a reliable and testable build system. we plan to support node.js and firefox extension for our build system, so this infrasture should have compatibility to run both on those two javascript environments. Using mocha might be a good idea because it can run on node.js and browser with different configuration.
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → yurenju.mozilla
Assignee | ||
Comment 1•11 years ago
|
||
WIP, https://github.com/cctuan/gaia/commit/2753d5de35674d6f62dd0746471c578ab6327967
Reporter | ||
Updated•11 years ago
|
Assignee: yurenju.mozilla → gduan
Assignee | ||
Comment 2•11 years ago
|
||
This patch has implemented the first step of build test. We'll implement more tests later.
Assignee | ||
Updated•11 years ago
|
Attachment #8347858 -
Flags: review?(yurenju.mozilla)
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 8347858 [details]
PR to master
1. please use tdd style for unit tests
2. now we have conflict, please rebase and set me review flag again.
Attachment #8347858 -
Flags: review?(yurenju.mozilla)
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8347858 [details]
PR to master
Changed to tdd and rebased.
Thanks.
Attachment #8347858 -
Flags: review?(yurenju.mozilla)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 8347858 [details]
PR to master
looks good to me, r=yurenju if nits is addressed which I mentioned on github.
Attachment #8347858 -
Flags: review?(yurenju.mozilla) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Thanks Yuren! https://github.com/mozilla-b2g/gaia/commit/45683b75b25449f44780a2a6b4f6fdb89887e047 We'll open several bugs to add unit tests for build scripts.
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•