Closed Bug 1527665 Opened 6 years ago Closed 6 years ago

[glean] TECHDEBT: Standardize test @Before and @After functions

Categories

(Toolkit :: Telemetry, enhancement, P3)

enhancement
Points:
1

Tracking

()

RESOLVED FIXED

People

(Reporter: mdroettboom, Assigned: Dexter)

References

Details

(Whiteboard: [telemetry:mobilesdk:m5])

Attachments

(1 file)

There are few different ways that we're resetting Glean back to a clean state in the testing code. Some use resetGlean, but others manually redo the initialization dance. This is mostly for historical reasons. We should standardize on resetGlean everywhere so that initialization is standardized and we can count on tests running in a certain expected and well-controlled context.

Blocks: 1513945
Blocks: 1491345
Priority: -- → P3
Whiteboard: [telemetry:mobilesdk:m?] → [telemetry:mobilesdk:m5]
Assignee: nobody → alessio.placitelli
Points: --- → 1
Attached file GitHub Pull Request
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: