Nick9500 / ministocks

Android Stocks Widget
http://niteshpatel.github.io/ministocks
MIT License
1 stars 2 forks source link

As a User, I want a Manual Refresh on the widget #11

Closed GurkomalSRao closed 6 years ago

GurkomalSRao commented 6 years ago

As a user, I want to be able to manually refresh information [SP: 1] [Priority: 2] [Risk: low]

Demo Scenario 1: User presses "Refresh" button

Task Estimation (Hours) Task 1: Research how to implement manual refresh on widget (.5h) Task 2: Discuss with assignee's (.5h) Task 3: Implement pull down refresh feature (.5h) Task 4: Implement button refresh feature (.5h) Task 4: Validate potential flaws i.e infinite refresh (.5h) Task 5: Modify and review with assignee's (1.5h)

Testing Template

Test # Input Expected Output Status
1 None None Pass/Fail
2 None None Pass/Fail
3 None None Pass/Fail
GurkomalSRao commented 6 years ago

Sample of Demo 390feature1

Nick9500 commented 6 years ago

controls

Nick9500 commented 6 years ago

Test Writing In Progress

Nick9500 commented 6 years ago

Manual Testing because no new methods were implemented. New layout elements were added (2 buttons), and callbacks were re-routed from leftTouch, rightTouch to PREFERENCES, REFRESH buttons accordingly. Manual tests can be found below: -Delete widget, quickly readd it, readd stocks to track, then refresh after a few seconds -Repeatedly pressing REFRESH Caution: Ensure that markets are open when testing. NYSE, FX, NASDAQ all open and close at different times.

Nick9500 commented 6 years ago

To Demo: -Long Press Homescreen -Add instance of ministocks widget -Add stocks to track via Preferences -> Stocks Setup -Wait a few minutes (Ensure stock market is open) -Tap the refresh button the lower left