-
Notifications
You must be signed in to change notification settings - Fork 111
Follow-up to Pocket background fetch #2325
Comments
… PocketVideoParser; rm endpoint.
…Raw. To match the class in the file.
The code is already available in a-c: it just needs to be exposed and perhaps refactored a little bit to support being exposed.
…ning why it's not necessary.
There is more code to be tested so I left TODOs in the test file.
There is more code to be tested so I left TODOs in the test file.
Just my 2 cents: So this is my understanding of the background fetch works (which could be wrong):
If above is correct, it would be ideal if we have following grey-box tests that does the following, in addition to the usual unit tests. They cover pretty typical scenarios: Checking whether update actually happens nominally:
Checking whether pocket updates past the specified time:
Checking whether app does not crash during network is down, and schedule reattempt
Alternatively, above scenario can be done manually too, but then we need a way for the manual tester to view/edit next update schedule via about:config or so. Also, I think different locale test can be covered manually too. If we go that route, I'll update TestRail with additional test cases. |
The code is already available in a-c: it just needs to be exposed and perhaps refactored a little bit to support being exposed.
There is more code to be tested so I left TODOs in the test file.
Completed in b8b29d. |
Follow-up tasks to #2223
Vision statement / What / Requirements
The tasks that were not finished in the original PR:
Remove remaining old Pocket foreground fetch code
Clean up comments in scheduler
Notify team
Documentation
Automated tests
Manual testing/understanding
Expose integration tests for QA - through custom intent flags
Impact
Some unused code needs to be removed and this background fetch functionality needs to be tested.
Acceptance criteria
All the above tasks are completed.
The text was updated successfully, but these errors were encountered: