Closed
Bug 846258
Opened 11 years ago
Closed 11 years ago
[Cost Control] Unit tests for Usage (Cost Control) are needed
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect)
Tracking
(b2g18+ fixed)
RESOLVED
FIXED
People
(Reporter: salva, Assigned: salva)
Details
Attachments
(1 file)
255 bytes,
text/html
|
jmcf
:
review+
akeybl
:
approval-gaia-v1+
|
Details |
Actually, Usage application has no unit test. An effort is required to provide test coverage.
Assignee | ||
Updated•11 years ago
|
tracking-b2g18:
--- → ?
Comment 1•11 years ago
|
||
We shouldn't need to track this in order to get tests, someone will need to coordinate with test automation team on this regardless of tracking status and develop a strategy for adding a new test suite.
status-b2g18:
--- → affected
Assignee | ||
Comment 2•11 years ago
|
||
In the following days I will upload several PR to cover Cost Control. Probably, these PR include code refactor as well to turn the Cost Control into a test-friendly application.
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #753202 -
Flags: review?(jmcf)
Comment 4•11 years ago
|
||
Comment on attachment 753202 [details]
Adding unit test infrastructure and tests for application startup cases
R+ with the latest nits addressed.
Good work Salva
Attachment #753202 -
Flags: review?(jmcf) → review+
Assignee | ||
Comment 5•11 years ago
|
||
master: 6a2e916b9f00d2984699c38592b27e23ad6be67d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 753202 [details]
Adding unit test infrastructure and tests for application startup cases
It adds a new test suite and infrastructure to support the tests so it is a medium sized patch. Modifications on the application needed to get tests running are small but important and other v1-train bugs could be blocked by the lack of these changes. Please, grant me the approval.
Bug caused by (feature/regressing bug #): none
User impact if declined: low
Testing completed: yes
Risk to taking this patch (and alternatives if risky): medium
String or UUID changes made by this patch: none
Attachment #753202 -
Flags: approval-gaia-v1?
Comment 7•11 years ago
|
||
(In reply to Salvador de la Puente González [:salva] from comment #6) > Risk to taking this patch (and alternatives if risky): medium Is the risk medium, or just the patch size? What's the worst user regresion that could happen by landing this code?
Flags: needinfo?(salva)
Assignee | ||
Comment 8•11 years ago
|
||
Only the patch size. Fortunately the changes are related to the application start-up but there is no worst regression as these tests warrant the start-up is correct precisely.
Flags: needinfo?(salva)
Updated•11 years ago
|
Attachment #753202 -
Flags: approval-gaia-v1? → approval-gaia-v1+
Comment 9•11 years ago
|
||
I was not able to uplift this bug to v1-train. If this bug has dependencies which are not marked in this bug, please comment on this bug. If this bug depends on patches that aren't approved for v1-train, we need to re-evaluate the approval. Otherwise, if this is just a merge conflict, you might be able to resolve it with: git checkout v1-train git cherry-pick -x -m1 6a2e916b9f00d2984699c38592b27e23ad6be67d <RESOLVE MERGE CONFLICTS> git commit
Flags: needinfo?(salva)
Assignee | ||
Comment 10•11 years ago
|
||
v1-train: 86f90fe70497a7bd04aa08c046587c8a1dd04aa9
Flags: needinfo?(salva)
You need to log in
before you can comment on or make changes to this bug.
Description
•