Closed
Bug 963009
Opened 11 years ago
Closed 10 years ago
[Gaia][Build] Test coverage
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gduan, Assigned: rickychien)
References
Details
Attachments
(3 files, 2 obsolete files)
We should have a test coverage report for build script.
Reporter | ||
Comment 1•11 years ago
|
||
I have tried blanket for it, however, there're some troubles
1. Unknown Error code 6 8 1, when requiring install-gaia.js
2. blanket seems to have ability to run |require| code inside script, however, we've used a lot of proxyquire module to replace require. So the test result doesn't actually run the target script.
3. I tried to insert a "data-cover-adapter" inside config, but it doesn't work.
Reporter | ||
Comment 2•11 years ago
|
||
istanbul is more easy to integrate with our current test scripts.
However, it doesn't support harmony mode, like let and const.
Reporter | ||
Comment 3•11 years ago
|
||
Attach the test report.
Reporter | ||
Comment 4•11 years ago
|
||
Screenshot of the console
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → gduan
Reporter | ||
Comment 5•11 years ago
|
||
Reporter | ||
Comment 6•11 years ago
|
||
As the author commented in https://github.com/gotwarlost/istanbul/issues/141, we probably need another repo for it.
Updated•11 years ago
|
Blocks: 1.4-system-platform
Reporter | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 9•10 years ago
|
||
What's the status of this bug? Is this already done elsewhere?
Flags: needinfo?(yurenju)
Reporter | ||
Comment 10•10 years ago
|
||
The problems we had on istanbul:
1. Istanbul didn't support ES6 ( I only tested on those without ES6 script.)
2. its harmony mode still not work.
3. It takes time to study the source code, so I didn't move it on.
We can put it in Build plan.
Reporter | ||
Comment 11•10 years ago
|
||
It seems Ricky has a solution for it.
assign to Ricky.
Assignee: gduan → ricky060709
Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8364852 [details] [review]
PR to master
https://github.com/mozilla-b2g/gaia/pull/24276
Attachment #8364852 -
Flags: review?(yurenju)
Assignee | ||
Comment 14•10 years ago
|
||
Assignee | ||
Comment 15•10 years ago
|
||
Linter test fail has been fixed. Here new try server status:
https://tbpl.mozilla.org/?rev=298f1eade8137cc6a5bd6193e787a2e249eb7e3a&tree=Gaia-Try
Assignee | ||
Comment 16•10 years ago
|
||
Updated try server status:
https://tbpl.mozilla.org/?rev=860284befb77697bb906b73ae3d5567ca54600fa&tree=Gaia-Try
Assignee | ||
Updated•10 years ago
|
Attachment #8364852 -
Attachment is obsolete: true
Attachment #8364852 -
Flags: review?(yurenju)
Comment 18•10 years ago
|
||
Comment on attachment 8494980 [details] [review]
Gaia PR
Ricky, this feature is awesome! please fix nits, rebase and wait all tasks are green on try server.
Attachment #8494980 -
Flags: review?(yurenju) → review+
Assignee | ||
Comment 19•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•