This branch adds network caching. All network requests should be cached to some degree. Even between launches.
WITH THIS FEATURE
Given a coffee fan
And app
When networking is enabled
Then networked requests are cached
And UI is populated with events
And UI for events has images
When networking is not enabled
Then network requests are fulfilled by the previously cached data
And UI shows “Error fetching events” dialog
And UI is populated with events
And UI for events has images
UNLIKE TODAY
Given a coffee fan
And app
When networking is not enabled
And UI shows “Error fetching events” dialog
Then network requests are not fulfilled (in any circumstance)
And UI is not populated with events
And UI for events do not have images
This branch adds network caching. All network requests should be cached to some degree. Even between launches.
WITH THIS FEATURE Given a coffee fan And app When networking is enabled Then networked requests are cached And UI is populated with events And UI for events has images
When networking is not enabled Then network requests are fulfilled by the previously cached data And UI shows “Error fetching events” dialog And UI is populated with events And UI for events has images
UNLIKE TODAY Given a coffee fan And app When networking is not enabled And UI shows “Error fetching events” dialog Then network requests are not fulfilled (in any circumstance) And UI is not populated with events And UI for events do not have images