Closed
Bug 1503510
Opened 6 years ago
Closed 4 years ago
[meta] Add unit tests for Perfherder
Categories
(Tree Management :: Perfherder, enhancement, P3)
Tree Management
Perfherder
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: igoldan, Unassigned)
References
Details
(Keywords: meta, Whiteboard: [lang=js])
We continue to break Perfherder, as we didn't provide it with front-end unit tests- spending a few weeks on tests would avoid many headaches - do half ourselves, and half with community. Work on this bug depends on bug 1450044, as we want our tests to work for React components, not Angular ones. For every new component that was switched to React, we must accompany it with tests.
Comment 1•6 years ago
|
||
We're switching to Jest for unit tests in bug 1364045 shortly. Waiting for that bug would avoid having to rewrite any tests added here, and hopefully making testing of React less painful.
Depends on: 1364045
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to Ionuț Goldan [:igoldan], Performance Sheriffing from comment #0) > For every new component that was switched to React, we must accompany it > with tests. :sclements could you plan your work to also include some basic unit tests for the refreshed code? These tests don't have to be exhaustive. I.e. me and Joel are thinking 5 unit tests per area covering at least 1/2 of the functional use cases. We're more interested in the new code to be testable, not that much in covering all edge cases.
Flags: needinfo?(sclements)
Comment 4•6 years ago
|
||
(keeping in mind what Ed mentioned above)
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Whiteboard: [lang=js]
Updated•5 years ago
|
Type: enhancement → task
Keywords: meta
Priority: P1 → P2
Summary: Add unit tests for Perfherder → [meta] Add unit tests for Perfherder
Updated•5 years ago
|
Assignee: nobody → igoldan
Status: NEW → ASSIGNED
Priority: P2 → P3
Reporter | ||
Updated•4 years ago
|
Assignee: igoldan → nobody
Status: ASSIGNED → NEW
Reporter | ||
Updated•4 years ago
|
Type: task → enhancement
Reporter | ||
Comment 5•4 years ago
•
|
||
This ticket is too generic. The current workflow we follow mandates that every new PR has test coverage.
Thus contributing to this ticket.
We're better off by simply closing this as INVALID.
Reporter | ||
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•